You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
date input: bare timezone abbreviations (ut, UT, gmt, …) rejected #280
GNU date -d accepts bare timezone abbreviations (UT, ut, GMT, gmt, …) and interprets them as "now, expressed in that timezone". parse_datetime rejects them as invalid.
Found by a fuzz_date run on uutils/coreutils.
Reproduction
$ TZ=UTC+1 /usr/bin/date -d 'ut''+%Z'UTC
$ TZ=UTC+1 target/debug/coreutils date -d 'ut''+%Z'date: invalid date 'ut'
$ echo$?1
$ TZ=UTC+1 /usr/bin/date -d 'GMT''+%Z'UTC
$ TZ=UTC+1 target/debug/coreutils date -d 'GMT''+%Z'date: invalid date 'GMT'
Activity
fix(offset): add "ut" (Universal Time) to named-timezone table
fix(offset): accept "ut" / "UT" as a bare UTC timezone abbreviation
fix(offset): add "ut" (Universal Time) to named-timezone table
fix(offset): accept "ut" / "UT" as a bare UTC timezone abbreviation
fix(offset): accept "ut" / "UT" as a bare UTC timezone abbreviation (#…
xtqqczze commentedon Oct 12, 2026
@anastygnome Is there anything in this issue that remains unaddressed?