0de4ddb18b
* 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
463 lines
18 KiB
Plaintext
463 lines
18 KiB
Plaintext
-------------------------------------------------------------------
|
|
Wed Feb 17 14:55:42 UTC 2021 - Michael Vetter <mvetter@suse.com>
|
|
|
|
- Update to 0.4.8:
|
|
* 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)
|
|
- Drop dateutils-remove-deprecated-header.patch: not needed anymore
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Dec 19 00:28:09 UTC 2020 - malcolmlewis@opensuse.org
|
|
|
|
- Add dateutils-remove-deprecated-header.patch: Remove deprecated
|
|
glibc sysctl.h header.
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Feb 5 19:16:19 UTC 2020 - Michael Vetter <mvetter@suse.com>
|
|
|
|
- Update to 0.4.7:
|
|
* strptime mimics return code behaviour of dateconv
|
|
* use unsigned arithmetic for leap second conversion
|
|
* fix up ymds before adding days or business days
|
|
* drain prchunk if filled with many small lines
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Mar 19 06:06:21 UTC 2019 - mvetter@suse.com
|
|
|
|
- Update to 0.4.6:
|
|
* 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)
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Sep 21 14:14:26 UTC 2018 - Martin Pluskal <mpluskal@suse.com>
|
|
|
|
- Simplify conditions
|
|
- Run spec-cleaner
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Sep 20 11:08:48 UTC 2018 - bwiedemann@suse.com
|
|
|
|
- Update to 0.4.5:
|
|
* dgrep accepts %c as qualifier in expressions (issue 81)
|
|
* tests work regardless of wall clock time (issue 84)
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Aug 25 18:31:39 UTC 2018 - jengelh@inai.de
|
|
|
|
- Ensure neutrality of descriptions.
|
|
- Trim idempotent %if..%endif guards.
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Aug 14 10:42:17 UTC 2018 - mvetter@suse.com
|
|
|
|
- Update to 0.4.4:
|
|
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
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Mar 3 19:38:04 UTC 2018 - sweet_f_a@gmx.de
|
|
|
|
- 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
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Nov 9 10:01:28 UTC 2017 - sweet_f_a@gmx.de
|
|
|
|
- revert non-portable changes of the last commit (SLE 11 build)
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Oct 18 06:37:06 UTC 2017 - aavindraa@gmail.com
|
|
|
|
- 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
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Apr 3 12:33:47 UTC 2017 - sweet_f_a@gmx.de
|
|
|
|
- fix incompatibility with tzdata/tzcode >= 2017a,
|
|
0001-fix-when-printing-zones-transitioning-at-INT_MAX-in-.patch
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Dec 15 10:27:50 UTC 2016 - sweet_f_a@gmx.de
|
|
|
|
- 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
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Jun 15 10:06:41 UTC 2016 - sweet_f_a@gmx.de
|
|
|
|
- fix .mex file extension for octave plugin,
|
|
0001-Revert-chore-be-more-portable-in-sxe-matlab.m4.patch
|
|
- explicit octave plugin file list
|
|
- remove *.la files
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Jun 2 14:07:21 UTC 2016 - sweet_f_a@gmx.de
|
|
|
|
- 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.
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Jan 22 22:45:28 UTC 2016 - sweet_f_a@gmx.de
|
|
|
|
- bump version 0.3.5, this is a bugfix release.
|
|
* Bugfixes:
|
|
- bug/40, distinguish between numerals-only dates and durations
|
|
- tests will succeed independent of current date
|
|
* See info page examples and/or README.
|
|
- remove dateutils-0.3.4-fix-test-126.patch (upstream applied)
|
|
|
|
-------------------------------------------------------------------
|
|
Sun Jan 10 10:11:42 UTC 2016 - antoine.belvire@laposte.net
|
|
|
|
- Fix build:
|
|
* add dateutils-0.3.4-fix-test-126.patch (from upstream)
|
|
(bnc#966644)
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Sep 2 13:34:24 UTC 2015 - sweet_f_a@gmx.de
|
|
|
|
- remove old obsoletes line for devel package
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Aug 31 08:39:17 UTC 2015 - sweet_f_a@gmx.de
|
|
|
|
- bump version 0.3.4, this is a bugfix release.
|
|
* Bugfixes:
|
|
- bug/39, MacOSX endianness detection
|
|
- bug/38, ddiff day-only durations on date/times
|
|
- dadd +2m bug is fixed, regression
|
|
* See info page examples and/or README.
|
|
- remove patches (upstream applied):
|
|
* 0001-fix-build-for-compilers-without-anonymous-struct-ini.patch
|
|
* 0002-fix-dateadd-unix-timestamp-bug.patch
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
Sun Aug 2 15:36:05 UTC 2015 - mpluskal@suse.com
|
|
|
|
- Correct previous changelog entries (incorrect patch names)
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Jun 15 09:02:13 UTC 2015 - sweet_f_a@gmx.de
|
|
|
|
- add 0002-fix-dateadd-unix-timestamp-bug.patch
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Jun 10 14:04:28 UTC 2015 - sweet_f_a@gmx.de
|
|
|
|
- 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 0001-fix-build-for-compilers-without-anonymous-struct-ini.patch
|
|
to support broken compilers (SLE 11, RHEL 6, etc.)
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Mar 5 16:25:37 UTC 2015 - sweet_f_a@gmx.de
|
|
|
|
- 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.
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Jan 16 11:26:54 UTC 2015 - sweet_f_a@gmx.de
|
|
|
|
- sort out distros with and without octave
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Oct 7 15:08:30 UTC 2014 - sweet_f_a@gmx.de
|
|
|
|
- bump version 0.3.1, this is a bugfix release.
|
|
* Bugfixes:
|
|
- octave/matlab code is distributed fully
|
|
- negative durations with refined units are minus-signed only
|
|
once
|
|
- ddiff is entirely anticommutative now
|
|
- tests don't fail if zones don't exist on the build system
|
|
- dseq with empty ranges will no longer produce output (just as
|
|
seq(1))
|
|
- arbitrary integers are not interpreted as time anymore
|
|
- when converting from zone info properly clear zone difference
|
|
for %Z
|
|
- dseq(1) will automatically resort to +1mo and +1y iterators
|
|
for wildcarded ymd dates
|
|
- dadd(1)'ing ywd dates with output as ymd works properly now
|
|
* Features:
|
|
- ddiff can output nanosecond diffs
|
|
- automatic fix-up of dates is documented now
|
|
- parser errors and fix ups are reported through return code 2
|
|
- dseq with no `-f|--format` stays in the calendric system of
|
|
the start value instead of converting all output to ymd
|
|
* See info page examples and/or README.
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Aug 26 16:09:00 UTC 2014 - sweet_f_a@gmx.de
|
|
|
|
- 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
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Jan 29 16:43:02 UTC 2014 - sweet_f_a@gmx.de
|
|
|
|
- bump version 0.2.7, this is a feature release.
|
|
* Features:
|
|
- dgrep supports -v|--invert-match like grep
|
|
- output specifier %G is supported for compatibility with POSIX
|
|
- ddiff calculates year-day differences
|
|
- ddiff calculates ISO-week date differences
|
|
- ddiff output can be zero and space padded through 0 and SPC
|
|
modifier
|
|
- zoneinfo database on AIX >= 6.1 is taken into account
|
|
* Bug fixes:
|
|
- ddiff can calculate full year differences, [issue 21][1] fixed
|
|
- dseq now accepts %W, %V output formats, [issue 22][2] fixed
|
|
- builds with clang >= 3.3 work again, [clang bug 18028][3]
|
|
* See info page examples and/or README.
|
|
[1]: https://github.com/hroptatyr/dateutils/issues/21
|
|
[2]: https://github.com/hroptatyr/dateutils/issues/22
|
|
[3]: http://llvm.org/bugs/show_bug.cgi?id=18028
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Oct 29 16:45:20 UTC 2013 - sweet_f_a@gmx.de
|
|
|
|
- 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.
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Jul 25 09:43:43 UTC 2013 - sweet_f_a@gmx.de
|
|
|
|
- bump version 0.2.5, this is a bug fix release.
|
|
* issue 18, long inputs to a short specifier string will yield an
|
|
error
|
|
* consume zone specs (a la +1200) in the input via %Z specifier
|
|
* ddiff's stdin stamps will undergo conversion according to
|
|
--from-zone
|
|
* clean up dist for inclusion in debian
|
|
* See info page examples and/or README.-
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Feb 7 16:58:01 UTC 2013 - sweet_f_a@gmx.de
|
|
|
|
- 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.
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Sep 14 15:02:04 UTC 2012 - sweet_f_a@gmx.de
|
|
|
|
- bump version 0.2.3, this is a bug fix and feature release.
|
|
* ISO 8601 week dates are now first class objectsi
|
|
(of type DT_YWD)
|
|
* introduce %rY specifier to denote years in calendars that
|
|
deviate from the Gregorian year
|
|
* dgrep accepts short-hand inputs (today, now, etc.) and also
|
|
inputs as specified by -i
|
|
* dadd'ing months and years to YMCW dates works now
|
|
* zoneinfo files with only transitions in the past are handled
|
|
properly (bug #10)
|
|
* dseq with just 1 argument is working properly (story #36051287)
|
|
* See info page examples and/or README.
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Jul 20 18:01:13 UTC 2012 - sweet_f_a@gmx.de
|
|
|
|
- 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.
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Jun 19 08:32:30 UTC 2012 - sweet_f_a@gmx.de
|
|
|
|
- bump version 0.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.
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Apr 10 11:32:52 UTC 2012 - sweet_f_a@gmx.de
|
|
|
|
- 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.
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Mar 23 16:04:17 UTC 2012 - sweet_f_a@gmx.de
|
|
|
|
- bump version 0.1.10, this is a bug fix release.
|
|
* account for big-endian machines
|
|
* GNUisms (mempcpy() and getline()) are removed
|
|
* inf-loop in tseq is fixed (bug #6)
|
|
* nanoseconds are preserved upon time zone conversion
|
|
- add byteswap.patch to fix build for old distros
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Feb 1 09:43:01 UTC 2012 - sweet_f_a@gmx.de
|
|
|
|
- bump version 0.1.9, this is a bug fix release.
|
|
* The code for date addition is refactored, with it a new
|
|
duration type is introduced, DT_MD, to capture larger month and
|
|
day summands.
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Jan 3 12:18:04 UTC 2012 - sweet_f_a@gmx.de
|
|
|
|
- bump version 0.1.8, this is a bug fix release.
|
|
* A bit fiddling bug gave erroneous results in `dconv now'.
|
|
* Furtherly, date expressions (for dgrep et al.) can now be
|
|
arbitrarily joined with conjunctions (&&) and disjunctions (||)
|
|
as well as negations (!).
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Oct 27 16:02:57 UTC 2011 - sweet_f_a@gmx.de
|
|
|
|
- bump version 0.1.7, this is a bug fix release.
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Oct 21 14:00:41 UTC 2011 - sweet_f_a@gmx.de
|
|
|
|
- bump version 0.1.6
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Sep 14 21:34:27 UTC 2011 - sweet_f_a@gmx.de
|
|
|
|
- initial package datetools 0.1.2
|
|
|