PEAK XOOPS - Formatting doesn't change in englishin japanese

Formatting doesn't change

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2004/5/22 16:36
zer0fill  °ìÅùʼ   Posts: 14
I just started using piCal on version .6 and really like all the features it offers. One thing that should probably get added to your todo list (didn't see it in TODO.txt) is to update piCal.php's *_html() functions. Right now, there are several lines that are hard-coded with a specific date() such as line 2417. To get the dates to show up properly in my neck of the woods (USA), I had to change

} else $start_desc = date( "H:i" , $start ) ;

to

} else $start_desc = date( _PICAL_DTFMT_TIME , $start ) ;

where I changed the defined _PICAL_DTFMT_TIME to define('_PICAL_DTFMT_TIME','h:ia')
Votes:0 Average:0.00
Previous post - Next post | Parent - No child | Posted on 2004/5/27 18:22
GIJOE  ÀèǤ·³Áâ   Posts: 4110
hi zer0fill.

Certainly, piCal.php and piCal_xoops uses "H:i" directly.
But it is not only typos.

If someone specifying date begging at 4:00, piCal displays 27:00.

But it is not so good reason, I think.
It is enough that Someone who wants to display time AM,PM don't use such a feature.

At least, my repositry is modified.

Thank you for your reporing.
Votes:0 Average:0.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!