WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 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:

Description

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 5 years ago.
patch for WP 2.9.2
show-utc-r14733.patch (856 bytes) - added by ktdreyer 5 years ago.
patch for trunk

Download all attachments as: .zip

Change History (9)

comment:1 @bi0xid5 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?

comment:2 @nacin5 years ago

Cities work. The manual UTC offsets don't.

comment:3 @ktdreyer5 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.

@ktdreyer5 years ago

patch for WP 2.9.2

@ktdreyer5 years ago

patch for trunk

comment:4 @ktdreyer5 years ago

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

comment:5 @ktdreyer5 years ago

  • Cc ktdreyer added

comment:6 @automattor5 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

comment:7 @ryan5 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.