Commit Graph

86 Commits

Author SHA256 Message Date
Ana Guerrero
d910df3ad6 Accepting request 1141918 from utilities
OBS-URL: https://build.opensuse.org/request/show/1141918
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dateutils?expand=0&rev=32
2024-01-28 18:42:08 +00:00
Michael Vetter
b35a5fb94c Accepting request 1141662 from home:jgwang:branches:utilities
- Updat to version 0.4.11 
- Remove patches 841c635b.patch and 35041f4d.patch because
  they have been applied in source code

OBS-URL: https://build.opensuse.org/request/show/1141662
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=84
2024-01-27 06:35:51 +00:00
Dominique Leuenberger
b39cd94115 Accepting request 1043782 from utilities
OBS-URL: https://build.opensuse.org/request/show/1043782
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dateutils?expand=0&rev=31
2022-12-20 19:20:22 +00:00
Michael Vetter
bd708a4e9b Accepting request 1043771 from home:dimstar:Factory
- Add upstream patches 35041f4d.patch and 841c635b.patch: Do not
  use Singapore for testing previous transitions, but rather
  Jakarta. Fixes build with timezone 2022g.

OBS-URL: https://build.opensuse.org/request/show/1043771
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=82
2022-12-19 14:45:28 +00:00
Dominique Leuenberger
af77231b34 Accepting request 979457 from utilities
OBS-URL: https://build.opensuse.org/request/show/979457
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dateutils?expand=0&rev=30
2022-05-27 22:28:16 +00:00
Michael Vetter
3dfda7061a Accepting request 979455 from home:jubalh:branches:utilities
- Update to 4.10:
  * do not resort to daisy sequences when incomplete dates are present (#131)
  * upon end-of-buffer finalise the last line (#141)
  * let --empty-mode|-E and --sed-mode|-S play nicely together (#139)
  * adapt CLI behaviour of strptime(1) to the other tools (#142)

OBS-URL: https://build.opensuse.org/request/show/979455
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=80
2022-05-27 09:52:09 +00:00
Richard Brown
0f5c57e07d Accepting request 913333 from utilities
- Update to 4.9:
  * allow to specify epochs in nanoseconds, %s%N (#123)
  * fix nanosecond arithmetic (#124)
  * make cross-compilations easier (#128)
  * mention default timezone (#129)
- Drop upstreamed patches:
  * 0144b15dda4b1ea4fdbeca9f3ecb128eb98772fd.patch
  * a0ebd0037df973aed14779b51d59da3edc506b6a.patch

OBS-URL: https://build.opensuse.org/request/show/913333
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dateutils?expand=0&rev=29
2021-08-20 14:57:59 +00:00
Michael Vetter
6f19b676a7 OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=79 2021-08-20 12:18:36 +00:00
Michael Vetter
eb167cfb23 - Update to 4.9:
* allow to specify epochs in nanoseconds, %s%N (#123)
  * fix nanosecond arithmetic (#124)
  * make cross-compilations easier (#128)
  * mention default timezone (#129)
- Drop upstreamed patches:
  * 0144b15dda4b1ea4fdbeca9f3ecb128eb98772fd.patch
  * a0ebd0037df973aed14779b51d59da3edc506b6a.patch

OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=78
2021-08-20 12:18:09 +00:00
Dominique Leuenberger
9a4fd69a16 Accepting request 897111 from utilities
OBS-URL: https://build.opensuse.org/request/show/897111
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dateutils?expand=0&rev=28
2021-06-03 22:33:48 +00:00
Dominique Leuenberger
e64f2c8d81 Accepting request 894038 from home:dimstar:Factory
- Add 0144b15dda4b1ea4fdbeca9f3ecb128eb98772fd.patch and
  a0ebd0037df973aed14779b51d59da3edc506b6a.patch: fix test suite
  run on 32bit archs.

OBS-URL: https://build.opensuse.org/request/show/894038
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=76
2021-06-03 08:59:12 +00:00
Richard Brown
3ce13f8e35 Accepting request 874254 from utilities
OBS-URL: https://build.opensuse.org/request/show/874254
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dateutils?expand=0&rev=27
2021-02-22 13:40:41 +00:00
Michael Vetter
34fd1a5ab4 Accepting request 874170 from home:AndreasStieger:branches:utilities
- add upstream signing key
- simplify spec file

OBS-URL: https://build.opensuse.org/request/show/874170
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=74
2021-02-22 08:38:26 +00:00
Dominique Leuenberger
942458d43d Accepting request 873182 from utilities
- 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

OBS-URL: https://build.opensuse.org/request/show/873182
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dateutils?expand=0&rev=26
2021-02-17 17:13:07 +00:00
Michael Vetter
0de4ddb18b - 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)

OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=72
2021-02-17 15:29:03 +00:00
Michael Vetter
d712c03749 - Drop dateutils-remove-deprecated-header.patch: not needed anymore
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=71
2021-02-17 15:28:06 +00:00
Dominique Leuenberger
6902bde3c3 Accepting request 860151 from utilities
OBS-URL: https://build.opensuse.org/request/show/860151
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dateutils?expand=0&rev=25
2021-01-04 18:09:14 +00:00
Michael Vetter
3b1b0a6fed Accepting request 856938 from home:malcolmlewis:branches:utilities
- Add dateutils-remove-deprecated-header.patch: Remove deprecated
  glibc sysctl.h header.

OBS-URL: https://build.opensuse.org/request/show/856938
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=69
2021-01-04 11:40:48 +00:00
Dominique Leuenberger
083da5f173 Accepting request 770385 from utilities
- 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

OBS-URL: https://build.opensuse.org/request/show/770385
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dateutils?expand=0&rev=24
2020-02-06 12:08:50 +00:00
Michael Vetter
55b814fa86 - 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

OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=67
2020-02-05 19:17:46 +00:00
Dominique Leuenberger
2d6a6d95f2 Accepting request 686298 from utilities
- 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)

OBS-URL: https://build.opensuse.org/request/show/686298
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dateutils?expand=0&rev=23
2019-03-19 09:03:33 +00:00
Michael Vetter
e2efb1b157 - 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)

OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=65
2019-03-19 06:09:24 +00:00
Dominique Leuenberger
cc19ca05f5 Accepting request 637417 from utilities
OBS-URL: https://build.opensuse.org/request/show/637417
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dateutils?expand=0&rev=22
2018-09-25 13:41:59 +00:00
Michael Vetter
88ad8cbfa9 Accepting request 637061 from home:pluskalm:branches:utilities
- Simplify conditions
- Run spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/637061
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=63
2018-09-24 10:31:05 +00:00
Ismail Dönmez
88b2af4f5e Accepting request 636875 from home:bmwiedemann:branches:utilities
- Update to 0.4.5:
  * dgrep accepts %c as qualifier in expressions (issue 81)
  * tests work regardless of wall clock time (issue 84)
    = fix build 2018-10-07

OBS-URL: https://build.opensuse.org/request/show/636875
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=62
2018-09-21 09:47:50 +00:00
Dominique Leuenberger
5826d09ce6 Accepting request 631611 from utilities
OBS-URL: https://build.opensuse.org/request/show/631611
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dateutils?expand=0&rev=21
2018-08-31 08:43:47 +00:00
Ismail Dönmez
a17c97d34b Accepting request 631536 from home:jengelh:branches:utilities
- Ensure neutrality of descriptions.
- Trim idempotent %if..%endif guards.

OBS-URL: https://build.opensuse.org/request/show/631536
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=60
2018-08-26 17:48:23 +00:00
Michael Vetter
8ca9fbca77 - 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

OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=59
2018-08-14 10:43:55 +00:00
Dominique Leuenberger
a320540a05 Accepting request 583258 from utilities
OBS-URL: https://build.opensuse.org/request/show/583258
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dateutils?expand=0&rev=20
2018-03-07 09:37:27 +00:00
Michael Vetter
6ae4ec3588 Accepting request 583246 from home:rudi_m
- 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
2018-03-06 10:05:53 +00:00
Dominique Leuenberger
3c68e706fb Accepting request 537354 from utilities
1

OBS-URL: https://build.opensuse.org/request/show/537354
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dateutils?expand=0&rev=19
2017-10-29 19:24:51 +00:00
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
Yuchen Lin
528c4a7a7f Accepting request 484859 from utilities
1

OBS-URL: https://build.opensuse.org/request/show/484859
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dateutils?expand=0&rev=18
2017-04-12 15:34:30 +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
Ludwig Nussel
5ba5cd0522 Accepting request 446414 from utilities
1

OBS-URL: https://build.opensuse.org/request/show/446414
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dateutils?expand=0&rev=17
2017-01-04 18:35:08 +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
Dominique Leuenberger
a22c9541f1 Accepting request 402352 from utilities
- 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

- 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/402352
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dateutils?expand=0&rev=16
2016-06-19 08:49:18 +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
Dominique Leuenberger
ba2089d27a Accepting request 360894 from utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/360894
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dateutils?expand=0&rev=15
2016-02-25 21:06:45 +00:00
Ruediger Meier
553bf7be8b add bnc#966644 to changelog
OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=46
2016-02-15 13:26:34 +00:00
Dominique Leuenberger
20bf9d26f4 Accepting request 355482 from utilities
1

OBS-URL: https://build.opensuse.org/request/show/355482
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dateutils?expand=0&rev=14
2016-01-28 16:22:39 +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
Dominique Leuenberger
e0583bb28c Accepting request 353010 from utilities
1

OBS-URL: https://build.opensuse.org/request/show/353010
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dateutils?expand=0&rev=13
2016-01-12 15:13:15 +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
Dominique Leuenberger
8cce5e9088 Accepting request 328297 from utilities
1

OBS-URL: https://build.opensuse.org/request/show/328297
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dateutils?expand=0&rev=12
2015-09-01 22:36:48 +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
Dominique Leuenberger
32a4254c9e Accepting request 320048 from utilities
1

OBS-URL: https://build.opensuse.org/request/show/320048
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dateutils?expand=0&rev=11
2015-08-03 15:22:07 +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