X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/7fe56712a4d4338cfb23d13e1ec3c6264a3e450e..f0b23dea771e2d9cb9a672a147c946f1ad539082:/doc/index.md diff --git a/doc/index.md b/doc/index.md index d12f09b..09e7d7d 100644 --- a/doc/index.md +++ b/doc/index.md @@ -10,7 +10,7 @@ The table includes the following sub modules, which have their own documentation ## `time ( )` -Returns the current unix timestamp using the most accurate source available. +Returns the current unix timestamp using the most precise source available. See `gettime` for more information. @@ -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".