/oss · 2 merged

uutils/parse_datetime

The Rust library that reads dates and times written in words, like "tomorrow" or "2 hours ago", for the uutils date tool.

the project on GitHub (opens in a new tab)
  1. 26 Oct 2026

    Three more time zone names are understood

    What was broken
    The date parser rejected the time zone names MET, HAST and HADT, which GNU date accepts.
    What I changed
    The three names were added with the same offsets GNU date uses, and checked against every short name GNU knows.
    Why it matters
    Dates written with these zone names now parse the same as with GNU date.

    see the code, #345 (opens in a new tab)

  2. 24 Oct 2026

    A time zone followed by DST now reads as summer time

    What was broken
    GNU date lets you write a zone like EST followed by the word DST to mean that zone's summer time. Here it was rejected as an invalid date.
    What I changed
    A DST word after a standard time zone now adds the hour. Zones that are already summer time still reject it, as in GNU.
    Why it matters
    Dates written this way give the same time as GNU date.

    see the code, #343 (opens in a new tab)

← every project