anchor-cms icon indicating copy to clipboard operation
anchor-cms copied to clipboard

Issue with installer timezones

Open staticfrost opened this issue 9 years ago • 12 comments

Summary

There is an issue with the timezone selector.

It's not showing correct time zones.

Brisbane Australia is +10 GMT / UTC... has no daylight savings time.

Yet it list it as +9 GMT.

http://www.timetemperature.com/australia/brisbane_time_zone.shtml

Expected Behaviour

+10 incorrect timezone

Actual Behaviour

+10 is the correct timezone, if this is wrong, i'd assume alot of the other ones are incorrect too.

Context details (if applicable)

  • Anchor version: .Powered by Anchor, version 0.12.1
  • Server setup: shared cpanel host
  • URL

staticfrost avatar Aug 13 '16 00:08 staticfrost

This issue has already been fixed, please update to the latest version (0.12.1).

TheBrenny avatar Aug 13 '16 02:08 TheBrenny

That is the version I am using.

staticfrost avatar Aug 13 '16 02:08 staticfrost

In your context details you mention that your anchor version is .93, and I assumed you meant 0.9.3? Can you please confirm this?

TheBrenny avatar Aug 13 '16 02:08 TheBrenny

I fixed this a while back: https://github.com/anchorcms/anchor-cms/pull/1101

That's a really old version of anchor...

Gerrit0 avatar Aug 13 '16 02:08 Gerrit0

sorry, as per admin console - Powered by Anchor, version 0.12.1

staticfrost avatar Aug 13 '16 03:08 staticfrost

Ahh, I'm guessing you are on migration 93.

This is a visual only glitch for the record. If you select the timezone, it should still correctly use the timezone.

Gerrit0 avatar Aug 13 '16 04:08 Gerrit0

sorry fresh install i'm not sure why i thought it was 93.

How can i confirm timezones easily enough?

staticfrost avatar Aug 13 '16 11:08 staticfrost

This is still a thing btw. @Gerrit0 so do I choose UTC+1 or UTC+2 for Germany now? (Germany is actually UTC+1)

nitwhiz avatar Aug 15 '18 16:08 nitwhiz

I believe it should be the option labeled GMT+2 Europe/Berlin, as that will choose the PHP timezone of Europe/Berlin, I've moved on from Anchor however so really can't say for sure.

Looks like I might have to return briefly as this will now bug me to no end :)

Edit: I looked into this some more and am now thoroughly confused... can you please confirm that Germany is UTC+1? https://www.timeanddate.com/worldclock/germany/berlin claims +2.

Gerrit0 avatar Aug 17 '18 03:08 Gerrit0

Could it be that this is some daylight saving time stuff? I referred to this map, where it says UTC=GMT and London has to be GMT+0. Berlin always was GMT+1 in user interfaces i saw. Could be i got something wrong there and UTC is handled differently when it comes to DST though, as timeanddate.com suggests.

EDIT: did some reading. This is indeed about DST, the +1/+2 varies because of winter/summer time. So its technically right but imho a weird user experience.

nitwhiz avatar Aug 18 '18 07:08 nitwhiz

Yep! That would do it. Do you have a recommendation for how the list should display? Should we just completely ignore DST when generating the timezone list?

Gerrit0 avatar Aug 18 '18 14:08 Gerrit0

UTC ignores DST, so my suggestion would be to display timezones as UTC, not as GMT.

The question is, what do users expect?

  • Windows Time Settings use UTC
  • Google Calendar uses GMT
  • Twitter uses GMT
  • Wordpress seems to use UTC (only checked some manual, don't have an instance up)
  • Joomla seems to use UTC (see Wordpress)
  • Personally I'd be like oh wtf when I see UTC, maybe google it and say oooh, or I'd just know I have to choose "+1 Berlin/Amsterdam/...". Can't really tell what's the best UX here.

I guess the mixture of DST and GMT (which we know as +0) makes it weird at first because we think London has to be +0 too then.^^

TL;DR: As long as the city names are kept, UTC would be the best UX imho.

nitwhiz avatar Aug 18 '18 21:08 nitwhiz