summaryrefslogtreecommitdiff
path: root/src/basic/time-util.c
Commit message (Expand)AuthorAgeFilesLines
* time-util: add note about on DST changeYu Watanabe2023-03-131-0/+3
* Merge pull request #26687 from yuwata/c2xLuca Boccassi2023-03-061-0/+1
|\
| * Include <threads.h> if possible to get thread_local definitionCristian Rodríguez2023-03-061-0/+1
* | time-util: drop redundant call of tzset()Yu Watanabe2023-03-061-2/+0
|/
* time-util: refuse non-zero gmtoff with non-UTC timezoneYu Watanabe2023-03-031-6/+10
* time-util: extend comment a bitYu Watanabe2023-03-031-7/+7
* time-util: rename len -> tz_offsetYu Watanabe2023-03-031-38/+40
* time-util: fix typoYu Watanabe2023-03-031-1/+1
* time-util: make parse_timestamp() use the RFC-822/ISO 8601 standard timezone ...Yu Watanabe2023-02-241-62/+112
* time-util: drop unnecessary assignment of timezone nameYu Watanabe2023-02-241-4/+1
* time-util: rename variablesYu Watanabe2023-02-241-9/+9
* time-util: shorten code a bitYu Watanabe2023-02-241-16/+9
* time-util: use usec_add() and usec_sub_unsigned()Yu Watanabe2023-02-241-10/+7
* time-util: use result from startswith_no_case()Yu Watanabe2023-02-241-10/+4
* time-util: do not use strdupa()Yu Watanabe2023-02-241-4/+12
* time-util: drop redundant elseYu Watanabe2023-02-241-4/+7
* time-util: add assertionsYu Watanabe2023-02-241-0/+25
* time-util: rename variablesYu Watanabe2023-02-241-43/+43
* time-util: align string tableYu Watanabe2023-02-241-3/+3
* time-util: use DEFINE_STRING_TABLE_LOOKUP_TO_STRING() macroYu Watanabe2023-02-241-1/+1
* time-util: drop redundant spaceYu Watanabe2023-02-241-2/+2
* shared/format-table: optionally print timestamps without "left"Zbigniew Jędrzejewski-Szmek2023-02-221-16/+16
* time-util: add timestamp output style that shows dates only, no timesLennart Poettering2023-01-201-6/+16
* time-util: condition size check based on utc modeLennart Poettering2023-01-201-1/+1
* time-util: simplify formatting of UNIX timestampsLennart Poettering2023-01-201-5/+3
* time-util: move buffer size check after handling of UNIX timestamp styleLennart Poettering2023-01-201-10/+11
* time-util: if a date is unrepresentable, honour style to generate XXX stringLennart Poettering2023-01-201-3/+9
* time-util: use IN_SET() moreLennart Poettering2023-01-201-18/+5
* tree-wide: use -EBADF for fd initializationZbigniew Jędrzejewski-Szmek2022-12-191-2/+2
* tree-wide: use ASSERT_PTR moreDavid Tardon2022-09-131-2/+1
* time-util: fix buffer-over-runYu Watanabe2022-07-081-1/+1
* tree-wide: add global ascii_isdigit() + ascii_isalpha()Lennart Poettering2022-07-051-3/+2
* shared/calendarspec: wrap long comments and reduce scope of one varZbigniew Jędrzejewski-Szmek2022-05-101-18/+21
* time-util: assume CLOCK_BOOTTIME always existsLennart Poettering2022-03-281-49/+7
* time-util: support parsing OUTPUT_SHORT and OUTPUT_SHORT_PRECISE timestampsFrantisek Sumsal2022-03-121-0/+10
* tree-wide: use timestamp_is_set() moreLennart Poettering2022-02-221-4/+4
* time-util: introduce TIMESTAMP_UNIXFrantisek Sumsal2022-02-211-0/+11
* alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhereLennart Poettering2021-10-141-5/+5
* tree-wide: voidify unchecked snprintf callsLuca Boccassi2021-08-201-38/+38
* basic/time-util: inline one more variable declarationZbigniew Jędrzejewski-Szmek2021-07-191-5/+3
* tree-wide: coccinelle fixesFrantisek Sumsal2021-07-091-2/+2
* basic/time-util: fix errno nameZbigniew Jędrzejewski-Szmek2021-07-071-1/+1
* time-util: add variant of timezone_is_valid() that returns errnoZbigniew Jędrzejewski-Szmek2021-07-011-25/+18
* time: get timezones from tzdata.ziDan Streetman2021-06-301-1/+57
* time: split get_timezone() into main function and zone1970.tab functionDan Streetman2021-06-301-24/+38
* time: simplify get_timezones()Dan Streetman2021-06-301-37/+19
* time-util: coding style fixesYu Watanabe2021-06-211-6/+6
* time-util: don't use plural units indiscriminatelyAnders Wenhaug2021-06-201-12/+30
* tree-wide: add missing whitespace at the end of commentsYu Watanabe2021-06-151-5/+5
* alloc-util: simplify GREEDY_REALLOC() logic by relying on malloc_usable_size()Lennart Poettering2021-05-191-3/+2