atoomic / perl-TimeDate

time & date parsing and formatting perl library
http://search.cpan.org/dist/TimeDate/
1 stars 4 forks source link

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

Open atoomic opened 4 years ago

atoomic commented 4 years ago

Migrated from rt.cpan.org#113406 (status was 'open')

Requestors:

From mbethke@cpan.org on 2016-03-28 15:16:30 :

The two-letter abbreviations of weekdays (So, Mo, Di, Mi, Do, Fr, Sa) are far more common in German than the three-letter ones used in Date::Language::German. Unless I have overlooked something that says they should always be three letters for easier substitutability of languages I'd vote for changing them.

From srezic@cpan.org on 2016-03-28 18:23:08 :

On 2016-03-28 11:16:30, mbethke wrote:
> The two-letter abbreviations of weekdays (So, Mo, Di, Mi, Do, Fr, Sa)
> are far more common in German than the three-letter ones used in
> Date::Language::German. Unless I have overlooked something that says
> they should always be three letters for easier substitutability of
> languages I'd vote for changing them.

It's also what OS locale implementations think it should be, at least on freebsd and linux (debian) systems:

$ env LC_ALL=en_US.UTF-8 perl -MPOSIX=strftime -E 'say strftime "%a", 0,0,0,28,3-1,2016-1900,1'       
Mon
$ env LC_ALL=de_DE.UTF-8 perl -MPOSIX=strftime -E 'say strftime "%a", 0,0,0,28,3-1,2016-1900,1'       
Mo