All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
3 Requiring the base luatz module will give you a table of commonly used functions and submodules.
5 The table includes the following sub modules, which have their own documentation:
7 - `parse`: Parses common date/time formats
8 - `timetable`: Class for date/time objects supporting normalisation
13 Returns the current unix timestamp using the most precise source available.
14 See `gettime` for more information.
17 ### `get_tz ( [timezone_name] )`
19 Returns a timezone object (see `tzinfo` documentation) for the given `timezone_name`.
20 If `timezone_name` is `nil` then the local timezone is used.
21 If `timezone_name` is an absolute path, then that `tzinfo` file is used
23 This uses the local [zoneinfo database](https://www.iana.org/time-zones);
24 names are usually of the form `Country/Largest_City` e.g. "America/New_York".
25 Check [wikipedia](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) for an example list.
28 ### `time_in ( timezone_name [, utc_ts] )`
30 Returns the current time in seconds since 1970-01-01 0:00:00 in the given timezone as a string,
31 (same semantics as `get_tz`) at the given UTC time (defaults to now).
34 ## As in the C standard library
38 ### `localtime ( ts )`