-
21bd1d97
by Benjamin Drung at 2023-01-06T10:43:02+01:00
d/tzdata.config: Replace tabs by spaces
Replace all tabs by spaces in `debian/tzdata.config` for consistency.
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
-
41a71b73
by Benjamin Drung at 2023-01-06T11:06:11+01:00
d/tzdata.config: Make case statement format consistent
Format each case in the case statement the same way for consistency.
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
-
e12bac13
by Benjamin Drung at 2023-01-06T11:23:24+01:00
d/tzdata.config: Update Mideast/Riyadh8[789] to Asia/Riyadh
Check that convert_timezone returns only existing timezones:
```
for tz in $(sed -n 's/^ \{12\}echo "\([^"$]*\)"$/\1/p' debian/tzdata.config); do
if ! test -e "/usr/share/zoneinfo/$tz"; then
echo "$tz"
fi
done
```
`Mideast/Riyadh87`, `Mideast/Riyadh88`, and `Mideast/Riyadh89` point to
timezones that were replaced by `Asia/Riyadh`.
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
-
cc59c45c
by Benjamin Drung at 2023-01-06T12:23:16+01:00
d/tzdata.config: Map CET and MET to Europe/Berlin
The geographical CET is between meridians 7°30′ E and 22°30′ E. Map CET
and MET to `Europe/Berlin` because it is geographically in the middle
(13° 24′ E). CET is identical to `Europe/Berlin` since 1980 (compared to
`Europe/Paris` which is identical to CET since 1977).
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
-
4876de0c
by Benjamin Drung at 2023-01-06T12:55:36+01:00
d/tzdata.postinst: Drop one useless date call
`TZBase` and `UTdate` contain the same string. Calling `date` once for
the UTC time is enough.
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
-
71627166
by Benjamin Drung at 2023-01-06T13:08:41+01:00
Address shellcheck complaints in postinst and tzdata.config
Address complains found by shellcheck:
```
shellcheck -x debian/*.post* debian/tzconfig debian/tzdata.config
```
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
-
9edc9dfe
by Benjamin Drung at 2023-01-06T15:07:25+01:00
d/tzdata.config: Rename Pacific/Enderbury to Pacific/Kanton
>From 2021b release: "When we added Enderbury in 1993, we did not know
that it is uninhabited and that Kanton (population two dozen) is the
only inhabited location in that timezone."
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
-
9adb86cd
by Benjamin Drung at 2023-01-06T15:38:10+01:00
Replace obsolete two-level American timezones by three-level timezones
The timezones America/Fort_Wayne, America/Indianapolis, America/Knox_IN,
and America/Louisville are not selectable in debconf. Replace them with
their current three-level names.
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
-
6f8d71b8
by Benjamin Drung at 2023-01-06T17:31:26+01:00
Sort areas alphabetically
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>