Make WordPress Core

Opened 20 years ago

Closed 20 years ago

#1075 closed defect (bug) (fixed)

Scheduled Entry Shows Wrong Time

Reported by: jpigford's profile JPigford Owned by: ryan's profile ryan
Milestone: Priority: normal
Severity: minor Version:
Component: Administration Keywords:
Focuses: Cc:

Description

I set an article's timestamp to 10:00 (which right at this moment would be in 15 minutes). But on Dashboard it says it is scheduled for 6 hours from now.

It appears like it's taking the timestamp I set and saying that I told it to show at 10:00PM UTC time but the rest of the timestamps on other posts in the pasts are showing correct times and the "Output:" under "Date and Time" on the options page under "Default time format" are showing the correct time.

Attachments (1)

strtotime_gmt.diff (750 bytes) - added by JPigford 19 years ago.

Download all attachments as: .zip

Change History (11)

#1 @JPigford
20 years ago

  • Patch set to No

#2 @JPigford
20 years ago

As an update. The post ended up posting at the correct time of 10:00AM despite Dashboard saying it would post in 6 hours. The issue is still there of it displaying the wrong time until it posts.

#3 @sethkinast
20 years ago

Seems just like 783. Should have been fixed already? :-/

#4 @cavemonkey50
20 years ago

I can confirm this also. It appears it was not fixed.

#5 @saadiq
20 years ago

Additional confirmation here. It's purely cosmetic, however. The admin page seems to not take into consideration the time zone of the blog.

#6 @MC_incubus
20 years ago

My patch fixes it... try it out.

#7 @MC_incubus
20 years ago

  • Owner changed from anonymous to rboren
  • Status changed from new to assigned

#8 @ryan
20 years ago

I think strtotime is the culprit. Try the strtotime_gmt.diff patch.

#9 @MC_incubus
20 years ago

Yep Ryan, tested your diff and it works.

#10 @ryan
20 years ago

  • fixed_in_version set to 1.5.1
  • Resolution changed from 10 to 20
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.