Ron Yorston
|
f27a6a94a7
libbb: code shrink parse_datestr (again)
|
3 years ago |
Ron Yorston
|
9fe1548bbf
date,touch: allow timezone offsets in dates
|
3 years ago |
Ron Yorston
|
3512ef8018
libbb: code shrink parse_datestr
|
3 years ago |
Denys Vlasenko
|
3c13da3dab
libbb: introduce and use xgettimeofday(), do not truncate 64-bit time_t in shells
|
3 years ago |
Denys Vlasenko
|
33e955ab91
unicode: fix handling of short 1-4 char tables
|
4 years ago |
Denys Vlasenko
|
32a8f70ac1
libbb: in @SECONDS date format, use 64-bit time if libc allows
|
4 years ago |
Denys Vlasenko
|
be5a505d77
Remove syscall wrappers around clock_gettime, closes 12091
|
5 years ago |
Alistair Francis
|
902d399292
time: Use 64 prefix syscall if we have to
|
5 years ago |
James Byrne
|
6937487be7
libbb: reduce the overhead of single parameter bb_error_msg() calls
|
5 years ago |
Denys Vlasenko
|
76832ff5c4
date: do not allow "month #20" and such, closes 11356
|
6 years ago |
Natanael Copa
|
b684d1b186
libbb: fix time parsing of [[CC]YY]MMDDhhmm[.SS]. Closes 8951
|
8 years ago |
Denys Vlasenko
|
3b394781b5
libbb: fix parsing of "10101010" date/time form
|
11 years ago |
Bartosz Golaszewski
|
688a7e3f04
date: accept 'yyyy-mm-dd HH' and 'yyyy-mm-dd' date formats
|
11 years ago |
Denys Vlasenko
|
8f2cb7ab26
libbb: introduce and use strftime_[YYYYMMDD]HHMMSS()
|
11 years ago |
Denys Vlasenko
|
10ee20b58b
libbb: better comment in parse_date
|
14 years ago |
Denys Vlasenko
|
92ffe0571a
date,touch: treat 2-digit years better (fit them into +-50 yrs around today)
|
14 years ago |
Denys Vlasenko
|
0ef64bdb40
*: make GNU licensing statement forms more regular
|
14 years ago |
Denys Vlasenko
|
5f94346f73
date: support -d @SECONDS_SINCE_1970
|
14 years ago |
Alexander Shishkin
|
85dbf190c6
date,touch: accept Jan 7 00:00:00 2010 format
|
14 years ago |
Denys Vlasenko
|
f2c8aa6676
libbb: introduce and use monotonic_ms
|
15 years ago |
Denys Vlasenko
|
dc698bb038
*: make it easier to distinquish "struct tm", pointer to one, etc
|
15 years ago |
Denys Vlasenko
|
ff1822aed1
date: restore hadling of MMDDhhmm[[CC]YY][.ss] date format
|
15 years ago |
Denys Vlasenko
|
4b624d0770
small commit tweak in parse_datestr, no code changes
|
15 years ago |
Denys Vlasenko
|
38dd8aa657
touch: implement -t TIME (needed for testsuite)
|
15 years ago |
Denys Vlasenko
|
7aca89a7a3
touch: implement -d --date (our own testsuite needs that)
|
15 years ago |
Denys Vlasenko
|
73b71f381d
date: factor out date parsing (in preparation for touch -d)
|
15 years ago |
Denis Vlasenko
|
ce13b76002
libbb: shrink monotonic_XXX functions, introduce monotonic_ns
|
16 years ago |
Denis Vlasenko
|
defc1ea340
*: introduce and use FAST_FUNC: regparm on i386, otherwise no-on
|
16 years ago |
Denis Vlasenko
|
09c0a749a1
define CLOCK_MONOTONIC to 1 if it is not defined
|
16 years ago |
Denis Vlasenko
|
d18f52bd18
actually add bb_qsort.c
|
16 years ago |