diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-04-30 18:36:51 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-04-30 18:36:51 -0700 |
commit | 5f2d243892ed9affeba7a842e6d184046c9e8420 (patch) | |
tree | 123d5a1da9612e32f46605b5e77d280ad651b76d /tests/010 | |
parent | 5765cb50dffd4923bfc31e2a0ed07211c7050d57 (diff) | |
download | txr-5f2d243892ed9affeba7a842e6d184046c9e8420.tar.gz txr-5f2d243892ed9affeba7a842e6d184046c9e8420.tar.bz2 txr-5f2d243892ed9affeba7a842e6d184046c9e8420.zip |
time: improved convenience in time functions.
* time.c (time_str_local, time_str_utc): New static functions.
(time_fields_local, time_fields_utc, time_struct_local,
time_struct_utc): Time argument
becomes optional, defaulted to current time.
(time_init): Use time_s symbol instead of interning
twice. Register new time-str-local and time-str-utc
intrinsics. Fix registration of functions that take
optional args.
* txr.1: New functions documented; optional arguments
documented; existing documentation revised.
* stdlib/doc-syms.tl: Updated.
Diffstat (limited to 'tests/010')
0 files changed, 0 insertions, 0 deletions