1
Daigoro
Strange time-format in piCal 0.88a
  • 2006/8/24 20:48

  • Daigoro

  • Quite a regular

  • Posts: 223

  • Since: 2003/7/3 2


I just updated my piCal from 0.76 to 0.88a (found on the authors site, here).

After updating the module, I now have a strange time format on the start and end time for each event added.

Where the start time normaly would be like this:
Quote:
17. September 2006 Søndag 13:00 (GMT+01:00)


it's now like this:
Quote:
17. September 2006 Søndag 13:_P1CPM0_SunCESTSeptemberSepCEST_Sep1N1158490800CESTE (GMT+01:00)


I've been trying to track down the problem, but it seems to come from somewhere deep inside /class/piCal.php, where the date and time strings are beeing joined.
I just can't put my finger on the problem, and would appriciate some help.

Looking forward to hear your suggestions.
Best regards,
Daigoro

2
jcweb
Re: Strange time-format in piCal 0.88a
  • 2006/8/24 21:10

  • jcweb

  • Quite a regular

  • Posts: 253

  • Since: 2005/4/25


Seems to be a analog problem i have some times ago. Is your PHP Version 5.x? Then you must modify one or more files. I have trouble with the cbb at this moment when i change from PHP 4.x to PHP 5.x. I fit the global.php in the language folder.

Andy

3
Daigoro
Re: Strange time-format in piCal 0.88a
  • 2006/8/24 21:12

  • Daigoro

  • Quite a regular

  • Posts: 223

  • Since: 2003/7/3 2


Ooops... My fault.


It turned out I had missed a change in one of the language files.

In pical_constants.php, the

define('_PICAL_DTFMT_TIME','H:i') ;

should have been changed into:

define('_PICAL_DTFMT_MINUTE','i') ;


Sorry for taking up your time.
Best regards,
Daigoro

4
jcweb
Re: Strange time-format in piCal 0.88a
  • 2006/8/24 21:25

  • jcweb

  • Quite a regular

  • Posts: 253

  • Since: 2005/4/25


you did not stell my time, you welcome! have fun with your xoops!

Andy

Login

Who's Online

108 user(s) are online (61 user(s) are browsing Support Forums)


Members: 0


Guests: 108


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits