Dateutils are a bunch of tools that revolve around fiddling with dates and times in the command line, with a strong focus on use cases that arise when dealing with large amounts of financial data. Their target market is shell scripts that need date calculations or calendar conversions, and as such they are highly pipe-able and modeled after their well-known cousins (e.g. dtest vs. test, or dgrep vs. grep).
|Tags||shell date calculation Utilites Command Line Time Conversion Calendar C Library|
Release Notes: dgrep supports -v|--invert-match like grep. The output specifier %G is supported for compatibility with POSIX. ddiff calculates year-day differences and ISO-week date differences. ddiff output can be zero and space padded through 0 and SPC modifiers. The zoneinfo database on AIX >= 6.1 is taken into account. - ddiff can calculate full year differences. dseq now accepts %W, %V output formats. Builds with clang >= 3.3 work again.
Release Notes: -q|--quiet no longer sends some commands into an infinite loop. NetBSD test failures (due to missing leap seconds) were fixed. AIX builds are now supported (getopt_long() is part of the code now). Internally, the test harness was migrated to the cli-testing tool. This fixes an issue when tests are run in directories with odd names (spaces, dollar signs, etc. in the path name).
Release Notes: This release fixes issue 18 (long inputs to a short specifier string will yield an error), consuming zone specs (1,200+) in the input via the %Z specifier, and ddiff's stdin stamps undergoing conversion according to --from-zone. It cleans up the distribution for inclusion in Debian.
Release Notes: This is a bugfix release. It adds the special output formats "jdn" and "ldn" for julian/lilian day numbers. Multiple occurrences of date/times within one line are now all processed rather than only the first occurrence. A zone difference specifier (%Z) is now supported for parsing and printing. The matlab zone converter tzconv has been added. Building with icc 13 works now. Many gcc warnings are fixed.
Release Notes: This is a bugfix and feature release. For features, ISO 8601 week dates are now first class objects (of type DT_YWD), a %rY specifier denotes years in calendars which deviate from the Gregorian year, and dgrep now accepts shorthand inputs (today, now, etc.) and inputs as specified by -i. For bugfixes, dadding months and years to YMCW dates now works, zoneinfo files with only transitions in the past are handled properly (bug #10), and dseq with just one argument works properly (story #36051287).