diff options
author | Jan Doskočil <jan.doskocil@nic.cz> | 2024-08-19 14:44:14 +0200 |
---|---|---|
committer | Daniel Salzman <daniel.salzman@nic.cz> | 2024-08-24 15:17:53 +0200 |
commit | fad9ce9f346a381dc5815cb36c15549f568420bc (patch) | |
tree | 4a4330cc2ad65f68d658b718a1116a03f3bb4a66 /doc | |
parent | CI: update Fedora and SUSE package testing images (diff) | |
download | knot-fad9ce9f346a381dc5815cb36c15549f568420bc.tar.xz knot-fad9ce9f346a381dc5815cb36c15549f568420bc.zip |
yparser: new time unit specifiers
w = week
M = month
y = year
Diffstat (limited to 'doc')
-rw-r--r-- | doc/reference.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/reference.rst b/doc/reference.rst index a93dd8c89..1aefc575c 100644 --- a/doc/reference.rst +++ b/doc/reference.rst @@ -20,9 +20,10 @@ the following symbols: - ``STR`` – Textual string - ``HEXSTR`` – Hexadecimal string (with ``0x`` prefix) - ``BOOL`` – Boolean value (``on``/``off`` or ``true``/``false``) -- ``TIME`` – Number of seconds, an integer with possible time multiplier suffix - (``s`` ~ 1, ``m`` ~ 60, ``h`` ~ 3600 or ``d`` ~ 24 * 3600) -- ``SIZE`` – Number of bytes, an integer with possible size multiplier suffix +- ``TIME`` – Number of seconds, an integer with a possible time multiplier suffix + (``s`` ~ 1, ``m`` ~ 60, ``h`` ~ 3600, ``d`` ~ 24 * 3600, ``w`` ~ 7 * 24 * 3600, + ``M`` ~ 30 * 24 * 3600, ``y`` ~ 365 * 24 * 3600) +- ``SIZE`` – Number of bytes, an integer with a possible size multiplier suffix (``B`` ~ 1, ``K`` ~ 1024, ``M`` ~ 1024^2 or ``G`` ~ 1024^3) - ``BASE64`` – Base64 encoded string - ``ADDR`` – IPv4 or IPv6 address |