[wp-trac] [WordPress Trac] #17278: Updater shows last check in 1970
WordPress Trac
wp-trac at lists.automattic.com
Wed May 4 01:04:37 UTC 2011
#17278: Updater shows last check in 1970
-----------------------------+------------------------
Reporter: hebbet | Owner: nacin
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 3.2
Component: Upgrade/Install | Version: 3.2
Severity: major | Resolution:
Keywords: has-patch |
-----------------------------+------------------------
Changes (by DH-Shredder):
* cc: mike.schroder@… (added)
Comment:
Seems to me that the question is whether date_i18n() should be returning a
result based on the current datetime/timestamp if no $unixtimestamp is
provided.
If the answer is yes, then the attached patch seems to be the proper
route.
If the answer is "that's not what this function is for", then that's
another story altogether, and the originating code should likely be
grabbing a timestamp elsewhere first.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17278#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list