* be symmetric about differences, A - B := -(B - A) for A < B
* fix security issue when reading TZMAP_DIR from environment
* fix printing of negative 0 (-0)
* fix issue with tzdata transitions in files with leap second
* adjustments that are now cut off at expiration time (#121)
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=72
* underspecified ISO weekday dates can be parsed
* adding days to underspecified dates results in proper dates
* all tools with -S|--sed-mode now support -E|--empty-mode to
output an empty line when a line cannot be read.
* dateround supports day, week, month and year classes now
(issues/92)
* datediff can determine difference in nanoseconds between
two time values (issues/94)
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=65
Incompatible changes:
* suffix `m` is no longer accepted as a synonym for `mo`
with date-only input, issue #76
Bugfixes:
* expose BSD routines (fgetln()) to yuck
* for dates passed to dateround(1) that coincidentally
match the roundspecs do read them as dates
* wrong timestamps read via -i %s signal error
* facilitate bmake build
* time rounding on date-only input keeps the date unchanged
* dateseq's short-cut iterator (2 date arguments) does not
interfere with the 3-argument version
* adding 0 date or time units does not change the summand
* datezone on times (without date) will return times
* zones are singletons now, opened and closed only once
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=59
- bump version 0.4.3
* Features:
- base expansion works for times now
* Bugfixes:
- durations in months weeks and days are calculated
like durations in months and days, consistency
- am and pm indicators in inputs are handled properly
- military midnights decay when not printed in full
- revert non-portable changes of the last commit (SLE 11 build)
OBS-URL: https://build.opensuse.org/request/show/583246
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=57
- bump version 0.4.2
* Features:
- allow %- specifiers to turn off padding (as GNU date does)
- support matlab day numbers, as mdn or matlab
* Bugfixes:
- fix build issue on FBSD 11
- allow zones to transition at INT_MAX (mapped to never)
- lint spec file
- move from bitbucket to github link
- remove patch which is upstream now:
0001-fix-when-printing-zones-transitioning-at-INT_MAX-in-.patch
OBS-URL: https://build.opensuse.org/request/show/537350
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=55
- bump version 0.4.1, this is a bugfix release.
* Bugfixes:
- bug/50, keep end-of-term (ultimo) property in dateseq(1)
- allow today/now for ywd dates in 1 parameter dateseq(1)
- allow different calendars for start and end date in dateseq(1)
- round time in dateround(1) in zone then convert --from-zone
- allow SPC padded numerals in %d input format
* See info page examples and/or README.
- remove patch which is upstream now:
0001-Revert-chore-be-more-portable-in-sxe-matlab.m4.patch
OBS-URL: https://build.opensuse.org/request/show/446368
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=51
- bump version 0.4.0, this is a feature release.
* Bugfixes:
- document %g/%G format specifiers
- bug/42, accept NUL characters in input
- bug/45, correctly display Gregorian and ISO week dates in one
line
- bug/46, adhere to ISO group's official formatting of week
dates
- bug/47, allow rounding of Epoch based timestamps
- bug/48, avoid crash for void input to strptime(3)
* Features:
- datetest supports --isvalid to conditionalise on date/time
parsing
- all tools support --from-locale to parse localised input
- tools with output formatting support --locale to format
output according to locale
* See info page examples and/or README.
OBS-URL: https://build.opensuse.org/request/show/399855
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=48
- add fix-dateadd-unix-timestamp-bug.patch
- bump version 0.3.3, this is a feature release.
* Features:
- to clarify purpose and avoid name clashes prefix binaries
with "date". This results in: dateadd, dateconv, ... etc.
- provide compatibilty through configure switch --with-old-names
- provide single digit years through %_y
- allow rounding of ISO-week dates (ywd) to week numbers
* Bugfixes:
- dashes behind a date do not count as tz indicator
- UTC/TAI/GPS special coordinated zones work on systems without
leap second support
* See info page examples and/or README
- add fix-build-for-compilers-without-anonymous-struct-ini.patch
to support broken compilers (SLE 11, RHEL 6, etc.)
OBS-URL: https://build.opensuse.org/request/show/312075
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=36
- bump version 0.3.2, this is a bugfix release.
* Bugfixes:
- out of range minutes will be discarded
- bug 30 (malicious input crashes dconv) has been fixed
* Features:
- military midnight stamps are supported (T24:00:00)
- 8601 ordinal dates (year + doy) are recognised directly
(`-f yd`)
- strptime(1) can behave in a locale-dependent way
* See info page examples and/or README.
OBS-URL: https://build.opensuse.org/request/show/289579
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=34
- bump version 0.3.0, this is a feature release.
* Features:
- dgrep supports time zones both for the expression and the
input
- timezones can be specified by alternative codes and
[tzmap files][1]
- new tool dzone to inspect date/times in multiple timezones in
bulk
- new tool dsort to sort input chronologically
- gengetopt and help2man maintainer dependencies removed
- lilian/julian inputs via `-i ldn` and `-i jdn`
- ymcw dates now follow ISO 8601 in using 07 to denote Sunday
* Bugfixes:
- ddiff takes differences between a unix epoch stamp and a
date/time
- zone converter assigns correct sign to zone difference when
using %Z
- weekdays are properly calculated from epoch stamps (issue 24)
* See info page examples and/or README.
[1]: http://www.fresse.org/dateutils/tzmaps.html
- enable Octave/Matlab plugin
- remove useless devel package
OBS-URL: https://build.opensuse.org/request/show/254205
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=28
- bump version 0.2.6, this is a bug fix release.
* issue 19, -q|--quiet no longer sends some commands into an
inf-loop
* netbsd test failures are fixed (due to missing leap seconds)
* AIX builds are supported (getopt_long() is part of the code
now)
* internally the test harness is 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)
* See info page examples and/or README.
OBS-URL: https://build.opensuse.org/request/show/205319
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=24
- bump version 0.2.4, this is a bug fix release.
* added special output format `jdn' and `ldn' for julian/lilian
day number
* multiple occurrences of date/times within one line are now all
processed rather than only the first occurrence
* zone difference specifier (%Z) is supported for parsing and
printing
* matlab zone converter tzconv has been added
* building with icc 13 works now
* many gcc warnings are fixed
* See info page examples and/or README.
OBS-URL: https://build.opensuse.org/request/show/153051
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=20
- bump version 0.2.2, this is a bug fix and feature release.
* Olson's zoneinfo database files are checked for at configure
time
* leap-aware calculations use shipped leapseconds file
* ddiff and dadd can take leap-second transitions into account
* issue 7: ddiff without arguments does not segfault
* issue 8: dadd copes with huge summands
* issue 9: dadd stumbles on ymcw dates
* bug 33104651: bday negative difference A > B ddiff A B -f %db
is wrong
* See info page examples and/or README.
OBS-URL: https://build.opensuse.org/request/show/128806
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=17
- bump version v0.2.1, this is a bug fix and feature release.
* The dadd tool now supports mass-adding durations (from stdin).
* The ddiff tool is now time zone aware.
* A new tool dround is added to round dates or times or
date-times to the next occurrence of what's given as
round-spec.
* Bug fixes:
- issue 7: ddiff without arguments does not segfault
- issue 8: dadd copes with huge summands
* See info page examples and/or README.
* The distinction between binaries for date, time and date-time
processing is cleared up by a unified set of tools, prefixed
with `d'.
* Furthermore, all tools now fully cope with dates, times and
date-times.
* Virtual timezones have been added (use `GPS' or `TAI').
OBS-URL: https://build.opensuse.org/request/show/125398
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=16
- bump version 0.2.0, this is a feature release.
* The distinction between binaries for date, time and date-time processing
is cleared up by a unified set of tools, prefixed with `d'.
Thus:
dadd + tadd -> dadd
dconv + tconv + dtconv -> dconv
ddiff + tdiff -> ddiff
dgrep + tgrep -> dgrep
dseq + tseq -> dseq
dtest + ttest -> dtest
* Furthermore, all tools now fully cope with dates, times and date-times.
Virtual timezones have been added (use `GPS' or `TAI').
* See info page examples and/or README.
OBS-URL: https://build.opensuse.org/request/show/113085
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=15
- bump version 0.1.6, note that tcal and dcal has been renamed to
tconv and dconv
- add devel package
- minimize BuildRequires
- actually enable tests
- minor formatting changes
- use globbing for executable file list because we expect some more to
be added in next releases
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=6