Wednesday 19 July 2006 12:27:39 pm
I encountered a problem (possibly bug) with date formating... I have a timestamp of $t=1153267200 which is equal to:
Wednesday, July 19th 2006, 0:00:00 (GMT)
or
Wednesday, July 19th 2006, 1:00:00 (GMT +1)
This can be checked at http://www.4webhelp.net/us/timestamp.php . But when I try to output this: {$t|l10n( 'shortdatetime' )}
I get: 19.07.2006. 02:00
I'm sure that my server is in (GMT +1) zone because the output of: {datetime('custom', '%O')}
is: +0100
and so the time in the last date should be 01:00 and not 02:00. It seems like there's one hour too much. Why is this happening? Is it a bug?
--
Nothing is impossible. Not if you can imagine it!
Hubert Farnsworth
|