X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/1efce446b9459b475f2c8f73d9627ff75bee55c2..94c5a08ebdc03125f84e7fed814a1599c788a09e:/doc/index.md?ds=inline diff --git a/doc/index.md b/doc/index.md index bb79641..09e7d7d 100644 --- a/doc/index.md +++ b/doc/index.md @@ -18,6 +18,7 @@ See `gettime` for more information. Returns a timezone object (see `tzinfo` documentation) for the given `timezone_name`. If `timezone_name` is `nil` then the local timezone is used. +If `timezone_name` is an absolute path, then that `tzinfo` file is used This uses the local [zoneinfo database](https://www.iana.org/time-zones); names are usually of the form `Country/Largest_City` e.g. "America/New_York".