Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#13408 closed defect (bug) (fixed)

UTC offsets don't work

Reported by: Frumph Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version:
Component: Date/Time Keywords: has-patch
Focuses: Cc:


Setting the time-offset in setting->general still doesn't modify the time accordingly or show the difference. Have to still put in a CITY name.

(Ticket created by nacin. from wp-testers.)

Attachments (2)

show-utc-2.9.2.patch (809 bytes) - added by ktdreyer 6 years ago.
patch for WP 2.9.2
show-utc-r14733.patch (856 bytes) - added by ktdreyer 6 years ago.
patch for trunk

Download all attachments as: .zip

Change History (9)

#1 @bi0xid
6 years ago

  • Cc raven@… added

I think I need some light in this issue. City names are working well and changes automatically the hour in summer/winter.

Can you explain a bit more the problem?

#2 @nacin
6 years ago

Cities work. The manual UTC offsets don't.

#3 @ktdreyer
6 years ago

I can only reproduce this when wp_timezone_supported() returns true (ie. PHP => 5.2.0). The UTC offsets appear to work otherwise.

6 years ago

patch for WP 2.9.2

6 years ago

patch for trunk

#4 @ktdreyer
6 years ago

  • Keywords has-patch added
  • Severity changed from major to normal

#5 @ktdreyer
6 years ago

  • Cc ktdreyer added

#6 @automattor
6 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [14746]) Show local time when a UTC offset is selected. Props ktdreyer. fixes #13408

#7 @ryan
6 years ago

I modified the patch so that the same text is always used whether an offset or city is selected.

Note: See TracTickets for help on using tickets.