Files
LLeMbas-TTY/docs/config/lua/wezterm.time/parse_rfc3339.md
T
Wez Furlong 85fb78d788 lua: add wezterm.time and Time object
Includes a method for determining sunrise/sunset.
2022-07-17 11:38:02 -07:00

322 B

wezterm.time.partse_rfc3339(str)

Since: nightly builds only

Parses a string that is formatted according to RFC 3339 and returns a Time object representing that time.

Will raise an error if the input string cannot be parsed according to RFC 3339.