Opened 16 years ago
Closed 16 years ago
#9586 closed defect (bug) (invalid)
Autosave problem when server is not using GMT time
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.8 |
Component: | Date/Time | Keywords: | has-patch dev-feedback |
Focuses: | Cc: |
Description
The autosave uses the following as $now and $then:
$now = time(); $then = strtotime($post->post_date_gmt . ' +0000');
So, the second is GMT but not necessarily the first. Shouldn't it be strtotime(gmdate("Y-m-d H:i:s")) instead?
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
see also #9588