[wp-trac] Re: [WordPress Trac] #3701: Post/Page drafts show double timezone offset in temporary title

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 14 22:40:05 GMT 2007


#3701: Post/Page drafts show double timezone offset in temporary title
----------------------------+-----------------------------------------------
 Reporter:  markjaquith     |        Owner:  anonymous
     Type:  defect          |       Status:  new      
 Priority:  low             |    Milestone:  2.1.1    
Component:  Administration  |      Version:  2.1      
 Severity:  normal          |   Resolution:           
 Keywords:                  |  
----------------------------+-----------------------------------------------
Old description:

> 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:
>
>  1. New draft
>  2. Type some body text, no title
>  3. Add a custom field
>  4. Navigate away.
>  5. Note title of draft shows {{{GMT - (2*offset)}}}

New description:

 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:

  1. New draft
  2. Type some body text, no title
  3. Add a custom field
  4. Navigate away.
  5. Note title of draft shows {{{GMT + (2*offset)}}}

Comment (by markjaquith):

 Bah, that should be PLUS {{{(2*offset)}}} ... my offset just happens to be
 negative.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3701#comment:6>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list