[aur-dev] [PATCH v2] Add user set timezones

Johannes Löthberg johannes at kyriasis.com
Tue Nov 15 09:35:09 UTC 2016


On 15/11, Lukas Fleischer wrote:
>On Tue, 15 Nov 2016 at 06:19:26, Mark Weiman wrote:
>> +       Timezone VARCHAR(50) NOT NULL DEFAULT 'UTC',
>
>Out of curiosity: How did you choose the length of 50 characters? Is it
>large enough according to some standard?
>

The zoneinfo has a limit of 14 characters[0], though there are some
legacy names that are still supported, the longest of which seems to be
33 characters.

[0]: https://github.com/eggert/tz/blob/365460cfe7f7404030f33dffe489ba66a2dcbcdd/Theory#L91

-- 
Sincerely,
  Johannes Löthberg
  PGP Key ID: 0x50FB9B273A9D0BB5
  https://theos.kyriasis.com/~kyrias/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1768 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/aur-dev/attachments/20161115/ac2d6ad3/attachment-0001.asc>


More information about the aur-dev mailing list