![]() | This template does not require a rating on Wikipedia's
content assessment scale. It is of interest to the following WikiProjects: | |||||||
|
Atlantic Time Zone | |
---|---|
Time zone | |
| |
UTC offset | |
AST | UTC−04:00 |
ADT | UTC−03:00 |
Current time | |
07:55, 11 July 2024
AST [
refresh 08:55, 11 July 2024 ADT [ refresh | |
Observance of DST | |
DST is observed in parts of this time zone. |
I've noticed an anomoly with the Current time that's displayed in the time zone infobox. The problem is that even if only a very small number of the countries in the time zone observe DST, the fact that the 'dst use' parameter is set to 'some' or 'parts' means that Current time displays the DST time value even though it's not actually true for most of the countries in the zone! Why can we not have two Current time values displayed (during the daylight saving period of the year), i.e. non-daylight saving and daylight saving, so the reader can see both? Or alternatively we could have a new parameter called 'current_dst' that can be set to 'yes' or 'no', which then selects which of the two times should be displayed under Current time. Then if this parameter is set to 'no', the non-daylight saving time will be displayed all year round.
Take the Atlantic Time Zone as an example. At the moment, the infobox is displaying ADT under Current time even though very few places in the Atlantic Time Zone are observing DST! In fact, the only places in this zone that use ADT are Bermuda, Paraguay, Chile, and some parts of Eastern Canada. ALL OTHER PARTS (the majority) of the Atlantic Time Zone ONLY USE AST. So shouldn't we really be displaying AST under Current time? Or could we not display both during the daylight saving period of the year? Rodney Baggins ( talk) 09:14, 2 September 2018 (UTC)
In order to generate the current time, this template currently just passes the |initials=
parameter straight to {{
time}}. However, because there is no international standard for these time zone initials codes, it leads to problems such as BST being the abbreviation for
British Summer Time (UTC+1),
Bangladesh Standard Time (UTC+6) and
Bougainville Standard Time (UTC+11) – see
List of time zone abbreviations. This was leading the
British Summer Time article (which had 23,579 over the last month) to display Bangladesh's time, rather than the UK's. While BST should be fixed at
Template:Time (via
Module:Time, probably to say that the timezone is ambiguous), it still means that we can't rely purely on passing |initials=
to that template.
I've temporarily changed the
British Summer Time article to have a non-breaking space in the initials parameter, so that it doesn't display Bangladesh time, but for a more permanent fix, I think we should use UTC offsets to display the time. It may be possible to parse the existing |offset=
parameter (we could potentially also do the same for |dst offset=
to address the above point about Daylight Savings vs. Non Daylight Savings times), but I don't think that {{
time}} is set up to allow us to do that currently. If we started a new template that allowed us to display the current time with an offset, we could also be certain about the error message it returns if it can't parse the offset parameter, as {{
time}} seemed to have changed at least once since this template was set up (also temporarily fixed in this template's code for now). ‑‑
Yodin
T
10:17, 21 September 2018 (UTC)
{{
time/sandbox}}
in {{
Infobox time zone/sandbox}}
to see if those module changes resolve some of your issues.{{{name}}}
to allow this template to pass the full name of a timezone across if the initials aren't working. Have also added a couple more parameters etc. for summer time timezones like British Summer Time. ‑‑
Yodin
T
11:39, 23 September 2018 (UTC)Interested parties, take note: Now that the discussion about merging Template:Infobox time zone UTC into this one has been closed (as merge) and it has been listed at Wikipedia:Templates for discussion/Holding cell#Other, someone needs to figure out how the merge will actually be accomplished. - dcljr ( talk) 23:11, 16 July 2019 (UTC)
|acronym=
at
Central European Time – there may be more remnants from those edits but if so I didn't find them. ‑‑
Yodin
T
11:14, 20 October 2019 (UTC)
[11 months pass…]
![]() | This template does not require a rating on Wikipedia's
content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||||||||
|
Atlantic Time Zone | |
---|---|
Time zone | |
| |
UTC offset | |
AST | UTC−04:00 |
ADT | UTC−03:00 |
Current time | |
07:55, 11 July 2024
AST [
refresh 08:55, 11 July 2024 ADT [ refresh | |
Observance of DST | |
DST is observed in parts of this time zone. |
I've noticed an anomoly with the Current time that's displayed in the time zone infobox. The problem is that even if only a very small number of the countries in the time zone observe DST, the fact that the 'dst use' parameter is set to 'some' or 'parts' means that Current time displays the DST time value even though it's not actually true for most of the countries in the zone! Why can we not have two Current time values displayed (during the daylight saving period of the year), i.e. non-daylight saving and daylight saving, so the reader can see both? Or alternatively we could have a new parameter called 'current_dst' that can be set to 'yes' or 'no', which then selects which of the two times should be displayed under Current time. Then if this parameter is set to 'no', the non-daylight saving time will be displayed all year round.
Take the Atlantic Time Zone as an example. At the moment, the infobox is displaying ADT under Current time even though very few places in the Atlantic Time Zone are observing DST! In fact, the only places in this zone that use ADT are Bermuda, Paraguay, Chile, and some parts of Eastern Canada. ALL OTHER PARTS (the majority) of the Atlantic Time Zone ONLY USE AST. So shouldn't we really be displaying AST under Current time? Or could we not display both during the daylight saving period of the year? Rodney Baggins ( talk) 09:14, 2 September 2018 (UTC)
In order to generate the current time, this template currently just passes the |initials=
parameter straight to {{
time}}. However, because there is no international standard for these time zone initials codes, it leads to problems such as BST being the abbreviation for
British Summer Time (UTC+1),
Bangladesh Standard Time (UTC+6) and
Bougainville Standard Time (UTC+11) – see
List of time zone abbreviations. This was leading the
British Summer Time article (which had 23,579 over the last month) to display Bangladesh's time, rather than the UK's. While BST should be fixed at
Template:Time (via
Module:Time, probably to say that the timezone is ambiguous), it still means that we can't rely purely on passing |initials=
to that template.
I've temporarily changed the
British Summer Time article to have a non-breaking space in the initials parameter, so that it doesn't display Bangladesh time, but for a more permanent fix, I think we should use UTC offsets to display the time. It may be possible to parse the existing |offset=
parameter (we could potentially also do the same for |dst offset=
to address the above point about Daylight Savings vs. Non Daylight Savings times), but I don't think that {{
time}} is set up to allow us to do that currently. If we started a new template that allowed us to display the current time with an offset, we could also be certain about the error message it returns if it can't parse the offset parameter, as {{
time}} seemed to have changed at least once since this template was set up (also temporarily fixed in this template's code for now). ‑‑
Yodin
T
10:17, 21 September 2018 (UTC)
{{
time/sandbox}}
in {{
Infobox time zone/sandbox}}
to see if those module changes resolve some of your issues.{{{name}}}
to allow this template to pass the full name of a timezone across if the initials aren't working. Have also added a couple more parameters etc. for summer time timezones like British Summer Time. ‑‑
Yodin
T
11:39, 23 September 2018 (UTC)Interested parties, take note: Now that the discussion about merging Template:Infobox time zone UTC into this one has been closed (as merge) and it has been listed at Wikipedia:Templates for discussion/Holding cell#Other, someone needs to figure out how the merge will actually be accomplished. - dcljr ( talk) 23:11, 16 July 2019 (UTC)
|acronym=
at
Central European Time – there may be more remnants from those edits but if so I didn't find them. ‑‑
Yodin
T
11:14, 20 October 2019 (UTC)
[11 months pass…]