Commit Graph

36 Commits

Author SHA256 Message Date
Ismail Dönmez
cb6b51e91a Accepting request 537350 from home:avindra
- 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
2017-10-28 18:24:20 +00:00
Ruediger Meier
f218fdc66d Accepting request 484858 from home:rudi_m
- fix incompatibility with tzdata/tzcode >= 2017a,
  0001-fix-when-printing-zones-transitioning-at-INT_MAX-in-.patch

OBS-URL: https://build.opensuse.org/request/show/484858
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=53
2017-04-03 12:56:09 +00:00
Ismail Dönmez
e8ce4731fb Accepting request 446368 from home:rudi_m
- 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
2016-12-15 15:00:05 +00:00
Ruediger Meier
18baff04df - 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

OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=49
2016-06-15 10:12:15 +00:00
Ismail Dönmez
1823076f80 Accepting request 399855 from home:rudi_m
- 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
2016-06-02 16:50:15 +00:00
Ismail Dönmez
19b3fa9c1e Accepting request 355470 from home:rudi_m
- 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)

OBS-URL: https://build.opensuse.org/request/show/355470
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=44
2016-01-23 09:26:03 +00:00
Ruediger Meier
3c50c2c009 Accepting request 353009 from home:rudi_m
- remove old obsoletes line for devel package

OBS-URL: https://build.opensuse.org/request/show/353009
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=42
2016-01-11 09:35:56 +00:00
Ruediger Meier
a7ab6eed4e Accepting request 352744 from home:1Antoine1:branches:utilities
- Fix build:
  * add dateutils-0.3.4-fix-test-126.patch (from upstream)

OBS-URL: https://build.opensuse.org/request/show/352744
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=41
2016-01-10 11:24:03 +00:00
Ismail Dönmez
d1b5fd3427 Accepting request 328127 from home:rudi_m
- 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

OBS-URL: https://build.opensuse.org/request/show/328127
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=39
2015-09-01 10:28:46 +00:00
Ismail Dönmez
fbbcff7d1e Accepting request 320021 from home:pluskalm:branches:utilities
- Correct previous changelog entries (incorrect patch names)

- add 0002-fix-dateadd-unix-timestamp-bug.patch
- add 0001-fix-build-for-compilers-without-anonymous-struct-ini.patch

OBS-URL: https://build.opensuse.org/request/show/320021
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=37
2015-08-02 18:14:31 +00:00
Ruediger Meier
ebe51fdb19 Accepting request 312075 from home:rudi_m
- 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
2015-06-29 11:48:55 +00:00
Ruediger Meier
4e71f2a789 Accepting request 289579 from home:rudi_m
- 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
2015-03-05 19:25:38 +00:00
Ruediger Meier
d3e77d5418 Accepting request 281969 from home:rudi_m
- sort out distros with and without octave

OBS-URL: https://build.opensuse.org/request/show/281969
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=32
2015-01-21 11:46:45 +00:00
Ismail Dönmez
417ae6ca10 Accepting request 254661 from home:rudi_m
Update version 0.3.1, this is a bugfix release.

OBS-URL: https://build.opensuse.org/request/show/254661
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=30
2014-10-09 10:43:43 +00:00
Ruediger Meier
4295afedcc Accepting request 254205 from home:rudi_m
- 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
2014-10-06 13:18:48 +00:00
Ismail Dönmez
5a5d9bd066 Accepting request 220697 from home:rudi_m
- 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

OBS-URL: https://build.opensuse.org/request/show/220697
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=26
2014-02-04 12:46:02 +00:00
Ruediger Meier
00446c62cf Accepting request 205319 from home:rudi_m
- 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
2013-10-31 15:47:56 +00:00
Ruediger Meier
9e81b37872 Accepting request 184584 from home:rudi_m
- 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.-

OBS-URL: https://build.opensuse.org/request/show/184584
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=22
2013-07-29 10:07:52 +00:00
OBS User mrdocs
764ed85681 Accepting request 153051 from home:rudi_m
- 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
2013-02-07 20:42:50 +00:00
Ruediger Meier
013db5a4a3 Accepting request 145081 from home:rudi_m
fix Factory build (timezone)

OBS-URL: https://build.opensuse.org/request/show/145081
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=19
2012-12-11 13:24:08 +00:00
Ruediger Meier
1f68376dfe Accepting request 134653 from home:rudi_m
- bump version 0.2.3, this is a bug fix and feature release.

OBS-URL: https://build.opensuse.org/request/show/134653
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=18
2012-09-17 11:27:28 +00:00
Ruediger Meier
3c8b2f71ad Accepting request 128806 from home:rudi_m
- 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
2012-07-23 21:20:11 +00:00
Ruediger Meier
b6a1696386 Accepting request 125398 from home:rudi_m
- 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
2012-06-19 09:03:50 +00:00
Ruediger Meier
6c6db6c41c Accepting request 113085 from home:rudi_m
- 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
2012-04-13 14:37:51 +00:00
OBS User mrdocs
ac22167d69 Accepting request 110852 from home:rudi_m
- 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
- use xz compressed sources

OBS-URL: https://build.opensuse.org/request/show/110852
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=14
2012-03-24 20:01:31 +00:00
OBS User mrdocs
e58ed5525c Accepting request 102370 from home:rudi_m
-  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.

OBS-URL: https://build.opensuse.org/request/show/102370
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=13
2012-02-01 17:16:36 +00:00
Ruediger Meier
7323131e0a Accepting request 98621 from home:rudi_m:branches:utilities
- 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 (!).

OBS-URL: https://build.opensuse.org/request/show/98621
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=12
2012-01-03 13:22:23 +00:00
Ruediger Meier
3d6ead7be8 correct license and style (prepare_spec)
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=11
2011-12-17 12:05:59 +00:00
Ruediger Meier
6fd4365ad6 Accepting request 89573 from home:rudi_m
bump version 0.1.7, this is a bug fix release.

OBS-URL: https://build.opensuse.org/request/show/89573
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=10
2011-10-28 16:13:44 +00:00
Ruediger Meier
6941791d8d Accepting request 89076 from home:rudi_m
file section is using less globbing (according to Pascal's complaints)

OBS-URL: https://build.opensuse.org/request/show/89076
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=9
2011-10-23 14:20:56 +00:00
Ruediger Meier
ab4b9fbdd0 This is a spec file rewrite, taken from home:rudi_m:
- 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
2011-10-21 16:24:23 +00:00
Pascal Bleser
63448d293e fix broken ext_info on mdv
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=5
2011-10-16 18:27:00 +00:00
Pascal Bleser
37d94f131c add %doc file, add make test, fix workaround for infodir/dir
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=4
2011-10-16 18:22:48 +00:00
Pascal Bleser
4a54b0199f add workaround for RHEL, fedora, mdv
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=3
2011-10-16 18:17:19 +00:00
Pascal Bleser
b4871b0928 repackage upstream tarball as bz2 instead of xz as SLE doesn't have xz
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=2
2011-10-16 17:19:29 +00:00
Pascal Bleser
0452f14c44 0.1.5
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=1
2011-10-16 17:15:15 +00:00