Author: van.de.bugger
Description:
One line patch.
Both #time and #timel ignore explicitly specified timezone. For example:
- {{ #time: Y-m-d H:i:s | 2011-11-10T23:00 Europe/London }}
- {{ #time: Y-m-d H:i:s | 2011-11-10T23:00 Europe/Rome }}
- {{ #timel: Y-m-d H:i:s | 2011-11-10T23:00 Europe/London }}
- {{ #timel: Y-m-d H:i:s | 2011-11-10T23:00 Europe/Rome }}
produces
- 2011-11-10 23:00:00
- 2011-11-10 23:00:00
- 2011-11-10 23:00:00
- 2011-11-10 23:00:00
With proposed one-line (not counting comments) patch, both function start to respect explicitly specified timezone. #time converts specified time to UTC, #timel -- to local server time:
- 2011-11-10 23:00:00 // London time == UTC
- 2011-11-10 22:00:00 // 23:00 Paris time == 22:00 UTC
- 2011-11-11 03:00:00 // 23:00 London time == 03:00 next day my local time
- 2011-11-11 02:00:00 // 23:00 Paris time == 02:00 next day my local time
Version: unspecified
Severity: major
attachment ParserFunctions_body.php.patch ignored as obsolete