summaryrefslogtreecommitdiff
path: root/src/basic/time-util.c
AgeCommit message (Expand)AuthorFilesLines
2018-07-19parse-util: make sure "3.+1s" or "3. 1s" are not considered valid time specif...Filipe Brandenburger1-2/+4
2018-07-17parse-util: make sure "-0.-0s" is not considered a valid time specificationLennart Poettering1-8/+14
2018-06-14tree-wide: remove Lennart's copyright linesLennart Poettering1-3/+0
2018-06-14tree-wide: drop 'This file is part of systemd' blurbLennart Poettering1-2/+0
2018-06-11util-lib: reject too long path for timedate_is_valid()Yu Watanabe1-0/+3
2018-06-06time-util: introduce common implementation of TFD_TIMER_CANCEL_ON_SET client ...Lennart Poettering1-0/+24
2018-06-02time-util: fix build with gcc8 -Werror=format-truncation=Martin Jansa1-1/+1
2018-05-31Always allow timestamps to be printedZbigniew Jędrzejewski-Szmek1-2/+5
2018-05-12basic: add log_level argument to timezone_is_validMike Gilbert1-7/+7
2018-05-11basic: timezone_is_valid: check for magic bytes "TZif"Mike Gilbert1-3/+26
2018-05-09time-util: fix indentation for commentsYu Watanabe1-9/+7
2018-04-27tree-wide: be more careful with the type of array sizesLennart Poettering1-4/+4
2018-04-06tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek1-13/+0
2018-04-05tree-wide: use TAKE_PTR() and TAKE_FD() macrosYu Watanabe1-2/+1
2018-01-11log: minimize includes in log.hLennart Poettering1-0/+1
2018-01-04process-spec: add another flag FORK_WAIT to safe_fork()Lennart Poettering1-8/+1
2017-12-25tree-wide: introduce new safe_fork() helper and port everything overLennart Poettering1-8/+5
2017-12-11tree-wide: drop a few == NULL and != NULL comparisonLennart Poettering1-1/+1
2017-11-20tree-wide: adjust fall through comments so that gcc is happyShawn Landden1-2/+1
2017-11-20util: add new helper in_utc_timezone()Lennart Poettering1-0/+6
2017-11-19Add SPDX license identifiers to source files under the LGPLZbigniew Jędrzejewski-Szmek1-0/+1
2017-10-05unit: when JobTimeoutSec= is turned off, implicitly turn off JobRunningTimeou...Lennart Poettering1-0/+4
2017-10-04tree-wide: use IN_SET macro (#6977)Yu Watanabe1-1/+1
2017-09-22time-util: mktime_or_timegm are changing the struct tmMarcel Hollerbach1-3/+3
2017-09-22time-util: correctly handle the timezone when parsingMarcel Hollerbach1-3/+11
2017-09-21time-util: fix shadowing of timezoneMarcel Hollerbach1-4/+4
2017-09-17Fix for dst/non-dst timezonesIvan Kurnosov1-5/+3
2017-09-17Simplify the if cases for timezone checkingZbigniew Jędrzejewski-Szmek1-6/+2
2017-09-17Added timezone to the CalendarSpec, parser/formatter and the timedatectlIvan Kurnosov1-61/+131
2017-07-11time-util: make parse_timestamp() return -EINVAL if the input is very old dat...Yu Watanabe1-11/+7
2017-07-08time-util: make parse_timestamp() set 0 if the input is very old date (#6297)Yu Watanabe1-4/+8
2017-07-03Parse "timeout=0" as infinity in various generators (#6264)Zbigniew Jędrzejewski-Szmek1-0/+10
2017-06-22time-util: add new call usec_shift_clock() for converting times between clocksLennart Poettering1-0/+19
2017-06-22time-util: rename usec_sub() to usec_sub_signed() and add usec_sub_unsigned()Lennart Poettering1-6/+6
2017-05-19basic/time-util: make parsing of dual_timestamp more strictZbigniew Jędrzejewski-Szmek1-2/+16
2017-02-03time-util: Fix overflow check introduce in commit f977849 (#5216)Benjamin Robin1-1/+1
2017-02-02time-util: add overflow checking to monotonic timestamp specificationsLennart Poettering1-0/+2
2017-02-02time-util: when formatting usec_t as raw integers use PRIu64Lennart Poettering1-2/+2
2017-02-02time-util: when converting to time_t do something useful in 2038Lennart Poettering1-2/+4
2017-02-02time-util: refuse formatting/parsing times that we can't storeLennart Poettering1-2/+9
2017-02-02time: time_t is signed, and mktime() is happy to return negative timeLennart Poettering1-5/+4
2017-01-31tree-wide: adjust fall through comments so that gcc is happyZbigniew Jędrzejewski-Szmek1-1/+1
2016-12-06time-util: accept "µs" as time unit, in addition to "us" (#4836)Lennart Poettering1-0/+2
2016-11-07tree-wide: add PRI_[NU]SEC, and use time format strings moreZbigniew Jędrzejewski-Szmek1-4/+4
2016-09-15time-util: export timespec_load_nsec()Ivan Shapovalov1-3/+1
2016-08-03util-lib: make timestamp generation and parsing reversible (#3869)Lennart Poettering1-23/+123
2016-06-06time-util: add triple timestamp objectLennart Poettering1-0/+72
2016-04-22tree-wide: don't assume CLOCK_BOOTIME is generally availableLennart Poettering1-14/+23
2016-04-01Revert "time-util: fall back to CLOCK_MONOTONIC if CLOCK_BOOTTIME unsupported"Lennart Poettering1-5/+2
2016-03-15time-util: fall back to CLOCK_MONOTONIC if CLOCK_BOOTTIME unsupportedLubomir Rintel1-2/+5