#3701 closed defect (bug) (fixed)
Post/Page drafts show double timezone offset in temporary title
Reported by: | markjaquith | Owned by: | |
---|---|---|---|
Milestone: | 2.1.1 | Priority: | low |
Severity: | normal | Version: | 2.1 |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description (last modified by )
If draft was saved at 4pm local time and you have -3 timezone offset, it'll say you posted it at 1pm.
Steps to reproduce:
- New draft
- Type some body text, no title
- Add a custom field
- Navigate away.
- Note title of draft shows
GMT + (2*offset)
Change History (8)
#2
@
18 years ago
No, it shows GMT minus (2*offset), by my math. Local time is GMT minus offset (as set in WordPress)... the desired time to present to the user.
#3
@
18 years ago
Is that platform dependent?
I'm not seeing this on my computer(winxp sp2+firefox2/IE7), the draft preview shows current localtime correctly.
#4
@
18 years ago
I'm sorry that shouldn't be anything related to the browser.
But can you describe more details about what exactly is the title you're referring to?(the theme/reproduce steps?)
I tested wordpress 2.1 on thirteen/ocadia, the draft preview date/time always shows correct GMT+offset current time. And I don't see anything strange in query.php.
#5
@
18 years ago
- Description modified (diff)
Steps to reproduce:
- New draft
- Type some body text, no title
- Add a custom field
- Navigate away.
- Note title of draft shows
GMT - (2*offset)
#6
@
18 years ago
- Description modified (diff)
Bah, that should be PLUS (2*offset)
... my offset just happens to be negative.
Although I don't doubt the problem, "server time" would seem to be relevant to the problem description, or is that what you mean by local time?