#10288 closed defect (bug) (invalid)
Timezones in WP-Admin
Reported by: | n4l | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Date/Time | Keywords: | |
Focuses: | Cc: |
Description
Timezones in Wordpress are missing cities/timezones with .5, such as GMT +5.5 (Indian Standard Times), the city equivalents aren't there too (Ahmedabad, Bengaluru, Chennai, Colombo, Delhi, Hyderabad, Kolkata, Mumbai, Thiruvananthapuram), expect for Kolkata which is spelt with the old spelling Calcutta.
It would be great to add the following timezones (and possibly respective cities) into the list in General Settings at ACP:
GMT -4.30
GMT -3.30
GMT +3.30
GMT +5.50 ( Ahmedabad, Bengaluru, Chennai, Colombo, Delhi, Hyderabad, Kolkata, Mumbai, Thiruvananthapuram )
GMT +5.45 ( Kathmandu, Biratnagar, Patan, Pokhara )
GMT +6.50 ( Yangon )
GMT +9.30
Attachments (1)
Change History (10)
#3
@
15 years ago
- Milestone changed from Future Release to 2.8.2
Cities are provided by PHP. That means, if you miss a city in the listing, check your servers configuration for
Check with your server configuration the version of the timezonedb it provides:
http://www.php.net/manual/en/timezones.php
For the rest I further look into the issue and try to provide a first patch.
#4
@
15 years ago
All values in the dropdown list are genereated based on data PHP has, so this is not an Issue with WordPress.
This is not the case for another listing which can be patched.
if ( !wp_timezone_supported() ) : // no magic timezone support here
in /wp-admin/options-general.php ~99
(while looking into this issue I found this: #10292)
#5
@
15 years ago
- Keywords has-patch tested added; needs-patch removed
The just attached patch introduces the following new timezones for the basic listing (extended listing is based on PHP-Data as said):
- GMT +5:50 (Ahmedabad, Bengaluru, Chennai, Colombo, Delhi, Hyderabad, Kolkata, Mumbai, Thiruvananthapuram)
- GMT +6:50 (Yangon)
The other Timezones reported by n4l were already part of the listing.
#7
@
15 years ago
- Keywords reporter-feedback dev-feedback added; tested removed
According Wikipedia and other online sources, there are no UTC+05:50 and UTC+06:50 timezones. Ahmedabad, Bengaluru, Chennai, Delhi, Hyderabad, Kolkata, Mumbai, and Thiruvananthapuram are in Indian Standard Time (UTC+05:30). Colombo is in Sri Lanka Standard Time Zone (UTC+05:30). Yangon is in Myanmar Standard Time (UTC+06:30).
Unless there is an official source showing that UTC+05:50 and UTC+06:50 exist, I suggest marking this report as invalid.
#8
@
15 years ago
- Keywords has-patch reporter-feedback dev-feedback removed
- Milestone 2.8.1 deleted
- Resolution set to invalid
- Status changed from new to closed
- Version 2.8 deleted
Thanks for clarification. I have not checked the report from the factual side. I did this now and as you said, it is invalid. Therefore it can be resolved.
#9
@
15 years ago
5.50 and 6.50 do not exist. I've made a mistake while typing. Sorry.
GMT -4.30, GMT -3.30, GMT +3.30, GMT +5.30 ( Ahmedabad, Bengaluru, Chennai, Colombo, Delhi, Hyderabad, Kolkata, Mumbai, Thiruvananthapuram ), GMT +5.45 ( Kathmandu, Biratnagar, Patan, Pokhara ), GMT +6.30 ( Yangon ), GMT +9.30
Thanks for reporting.