Bug #3268
closed
Article tab does not show articles immediately after creation (UTC articles timezone issue)
Added by krileon almost 13 years ago.
Updated almost 13 years ago.
Start date:
14 February 2012
Description
Due to the "publish_up" date always being in the future it seams the match of publish_up to $now is always wrong. Only after several hours have passed will it actually show.
Joomla 1.6+ is using "JFactory::getDate()->toSql()" to set the database date value.
Files
2 proposed solutions. 1 just uses Joomla API and the other temporarily sets the timezone to UTC as Joomla does before constructing the date.
- Subject changed from Article tab does not show articles immediately after creation to Article tab does not show articles immediately after creation (UTC articles timezone issue)
- Status changed from Resolved to Closed
- Estimated time set to 1:00 h
Fixed in commit 1757 as suggested without JDate dependency.
Also available in: Atom
PDF