Opened 4 years ago
Closed 4 years ago
#9586 closed defect (bug) (invalid)
Autosave problem when server is not using GMT time
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Date/Time | Version: | 2.8 |
| Severity: | normal | Keywords: | has-patch dev-feedback |
| 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)
Denis-de-Bernardy — 4 years ago
- Keywords has-patch dev-feedback added
- Milestone 2.8 deleted
- Resolution set to invalid
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

see also #9588