Skip to content

fix: use standard 2-letter German weekday abbreviations#63

Draft
Koan-Bot wants to merge 1 commit intoatoomic:mainfrom
Koan-Bot:koan.atoomic/fix-german-dows-abbreviations
Draft

fix: use standard 2-letter German weekday abbreviations#63
Koan-Bot wants to merge 1 commit intoatoomic:mainfrom
Koan-Bot:koan.atoomic/fix-german-dows-abbreviations

Conversation

@Koan-Bot
Copy link

@Koan-Bot Koan-Bot commented Mar 14, 2026

What

Change German and Austrian weekday abbreviations from non-standard 3-letter forms to the standard 2-letter forms used by POSIX locales.

Why

The current abbreviations (Son, Mon, Die, Mit, Don, Fre, Sam) are non-standard truncations. German-speaking countries universally use 2-letter forms (So, Mo, Di, Mi, Do, Fr, Sa), which is confirmed by LC_ALL=de_DE.UTF-8 strftime "%a" on Linux and FreeBSD. Issue reported by two CPAN authors (MBETHKE, SREZIC) in 2016.

How

Updated @DoWs in both German.pm and Austrian.pm. The parser (_build_lookups()) automatically rebuilds reverse-lookup hashes, so parsing the new abbreviations works out of the box.

Testing

  • t/format.t, t/lang-data.t, t/lang.t — all 534 tests pass
  • Round-trip (format → parse → compare) verified for both German and Austrian

Closes #34

🤖 Generated with Claude Code


Quality Report

Changes: 4 files changed, 6 insertions(+), 6 deletions(-)

Code scan: clean

Tests: skipped

Branch hygiene: clean

Generated by Kōan post-mission quality pipeline

Change @dows from 3-letter (Son, Mon, Die, Mit, Don, Fre, Sam) to the
standard 2-letter forms (So, Mo, Di, Mi, Do, Fr, Sa) in both German
and Austrian language modules.

The 2-letter abbreviations match POSIX locale output (LC_ALL=de_DE.UTF-8)
on Linux and FreeBSD, and are the universally recognized standard in
German-speaking countries.

Closes atoomic#34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

@Date::Language::German::DoWs is in an uncommon format [rt.cpan.org #113406]

1 participant