When configuring a calendar form field with the parameters default="NOW"
and filter="user_utc"
(or server_utc
) it will result in the wrong offset. For example, in my case the server (and user) are in the timezone Europe/Berlin
which has a +2 offset to UTC.
The fix is simple: Set the default timezone to "UTC" and restore it afterwards when the default="NOW"
is set (together with a filter). Similar is already done in the JDate
class constructor.
Note: I wasn't sure where to open it, since this is a platform issue but I'm confused as to where it has to be reported (i.e. the platform repo has no issues, is it dead?). The framework repo adds to the confusion...
Labels |
Added:
?
Removed: ? ? |
||
Build | ⇒ | staging |
Thanks for reporting this. At this time we are only using github as the place to submit code fixes so I am closing the report here. The actual reporting of issues and testing fixes is still taking place on Joomlacode.
As it has been some time since you opened this issue can you please confirm that it is still valid with the current Master or Joomla 3.2 beta.
If it is still valid please can you open an item on the Joomlacode tracker in the appropriate area.
CMS Bug Reports: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemBrowse&tracker_id=8103
CMS Feature Requests: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemBrowse&tracker_id=8549