Skip to content

Releases: uutils/parse_datetime

v0.15.0

Choose a tag to compare

@sylvestre sylvestre released this 05 Jul 14:33
cb1cb02

parse_datetime v0.15.0 rolls up a round of dependency updates (jiff, winnow, codspeed, anyhow, defmt) and a new security-audit workflow, alongside GNU-date compatibility fixes: bare "ut"/"UT" now parse as UTC, HH:MM am/pm times work in combined date-time strings, negative unix timestamps use correct floor semantics, and fixed offsets are applied before relative adjustments

parse_datetime v0.15.0

What's Changed

Fixes

  • fix(offset): accept "ut" / "UT" as a bare UTC timezone abbreviation by @0xSoftBoi in #287
  • fix: support HH:MM am/pm time formats in combined date-time parsing by @0xSoftBoi in #284
  • fix: add unix_epoch_second() with floor semantics for negative timestamps by @0xSoftBoi in #285
  • builder: apply fixed offset before relative adjustments by @sylvestre in #299

CI / Infrastructure

  • actions: add security audit workflow by @xtqqczze in #289
  • chore(deps): update codecov/codecov-action action to v7 by @renovate[bot] in #301
  • chore(deps): update actions/checkout action to v7 by @renovate[bot] in #302

Dependency updates

  • chore(deps): update rust crate codspeed-criterion-compat to v4.5.0 by @renovate[bot] in #290
  • chore(deps): update rust crate winnow to v1.0.2 by @renovate[bot] in #291
  • chore(deps): update rust crate jiff to v0.2.24 by @renovate[bot] in #292
  • chore(deps): update rust crate winnow to v1.0.3 by @renovate[bot] in #294
  • chore(deps): update rust crate codspeed-criterion-compat to v4.6.0 by @renovate[bot] in #293
  • chore(deps): update rust crate codspeed-criterion-compat to v4.7.0 by @renovate[bot] in #295
  • chore(deps): update rust crate jiff to v0.2.25 by @renovate[bot] in #296
  • chore(deps): update rust crate jiff to v0.2.27 by @renovate[bot] in #297
  • chore(deps): update rust crate jiff to v0.2.28 by @renovate[bot] in #298
  • chore(deps): update rust crate libfuzzer-sys to v0.4.13 by @renovate[bot] in #300
  • chore(deps): update rust crate jiff to v0.2.29 by @renovate[bot] in #303
  • chore(deps): update rust crate codspeed-criterion-compat to v5 by @renovate[bot] in #305
  • chore(deps): update rust crate codspeed-criterion-compat to v5.0.1 by @renovate[bot] in #306
  • chore(deps): update rust crate jiff to v0.2.31 by @renovate[bot] in #307
  • chore(deps): update rust crates by @xtqqczze in #288
  • Bump anyhow from 1.0.102 to 1.0.103 by @cakebaker in #309
  • Bump defmt from 1.1.0 to 1.1.1 by @cakebaker in #310

New Contributors

Full Changelog: 0.15.0...v0.15.0

v0.14.0

Choose a tag to compare

@sylvestre sylvestre released this 05 Jul 14:25

What's Changed

  • chore(deps): update rust crate winnow to v0.7.14 by @renovate[bot] in #249
  • chore(deps): update rust crate jiff to v0.2.17 by @renovate[bot] in #250
  • chore(deps): update rust crate jiff to v0.2.18 by @renovate[bot] in #251
  • chore(deps): update rust crate jiff to v0.2.19 by @renovate[bot] in #256
  • chore(deps): update rust crate libfuzzer-sys to v0.4.12 by @renovate[bot] in #257
  • chore(deps): update rust crate jiff to v0.2.20 by @renovate[bot] in #258
  • fix: TZ prefix should override base date timezone by @ChrisDryden in #255
  • parse_datetime fix relative month dates result in wrong dates by @cerdelen in #253
  • Add Coveralls integration for PR coverage reports by @sylvestre in #260
  • date: add tests by @sylvestre in #259
  • prepare release 0.14.0 by @sylvestre in #262

New Contributors

Full Changelog: v0.13.3...v0.14.0

v0.13.3

Choose a tag to compare

@cakebaker cakebaker released this 21 Nov 09:32
6462d41

This is a minor bugfix release. It fixes parsing of decimal offsets with spaces: now + 25.0 seconds is now recognized (previously only now + 25 seconds and now+25.0 seconds were accepted).

Thanks to @3v1n0 for the fix!

What's Changed

  • relative: Support parsing floating relative values with spaces by @3v1n0 in #246

Dependencies

New Contributors

Full Changelog: v0.13.2...v0.13.3

v0.13.2

Choose a tag to compare

@cakebaker cakebaker released this 09 Nov 17:52
9f6605f

This is a minor release that adds support for dates using the formats Nov-14-2024 and November-14-2024. They complement the already supported formats Nov 14 2024 and November 14 2024.

What's Changed

  • feat: support formats Nov-14-2024 and November-14-2024 by @cakebaker in #241

Dependencies

Full Changelog: v0.13.1...v0.13.2

v0.13.1

Choose a tag to compare

@cakebaker cakebaker released this 04 Oct 15:44
ba69fb8

This is a small bug fix release: a string like "1234.123456789 seconds ago" caused an invalid date error (see uutils/coreutils#8754). In addition, the unused regex dependency has been removed.

Thanks to @yuankunzhang and @stillbeingnick for their PRs!

What's Changed

  • chore: remove regex crate as dependency by @yuankunzhang in #236
  • docs: add comments for the build function by @yuankunzhang in #237
  • Changing ErrMode::Cut to ErrMode::Backtrack to allow alt parser flow (Fix for uutils/coreutils issue 8754) by @stillbeingnick in #238

New Contributors

Full Changelog: v0.13.0...v0.13.1

v0.13.0

Choose a tag to compare

@cakebaker cakebaker released this 26 Sep 12:47
eb61087

This is a small release to add a single feature: support for TZ="timezone" at the beginning of an input string.

Thanks to @yuankunzhang for implementing it.

What's Changed

Dependencies

  • fix(deps): update rust crate regex to v1.11.3 by @renovate[bot] in #234

Full Changelog: v0.12.0...v0.13.0

v0.12.0

Choose a tag to compare

@cakebaker cakebaker released this 22 Sep 13:15
5662a1b

Breaking change: we have migrated from chrono to jiff. Our parse functions now return a jiff::Zoned struct upon success. Additionally, parse_datetime_at_date now requires a jiff::Zoned struct as an argument.

A big thank you to @yuankunzhang for all their work for this release!

What's Changed

Dependencies

New Contributors

Full Changelog: v0.11.0...v0.12.0

v0.11.0

Choose a tag to compare

@cakebaker cakebaker released this 01 Aug 07:09
46a5ef8

A big thank you to @yuankunzhang for all their work for this release!

What's Changed

Dependencies

  • fix(deps): update rust crate libfuzzer-sys to v0.4.10 by @renovate[bot] in #175
  • fix(deps): update rust crate winnow to v0.7.12 by @renovate[bot] in #176
  • chore(deps): update rust crate rstest to v0.26.1 by @renovate[bot] in #194

New Contributors

Full Changelog: v0.10.0...v0.11.0

v0.10.0

Choose a tag to compare

@sylvestre sylvestre released this 26 May 21:48
1552608

What's Changed

Dependencies

  • fix(deps): update rust crate chrono to v0.4.41 by @renovate in #136

New Contributors

Full Changelog: v0.9.0...v0.10.0

v0.9.0

Choose a tag to compare

@sylvestre sylvestre released this 25 Apr 07:59
b9630d4

What's Changed

Dependencies

New Contributors

Full Changelog: v0.8.0...v0.9.0