dirkgroenen / Goldfish-Autoresponder

Goldfish is a simple autoresponder script (written in PHP) for Postfix.
10 stars 9 forks source link

user dateformat should not be translated #10

Closed OlegsHanins closed 2 years ago

dirkgroenen commented 8 years ago

Whats the reason why one should not change a date format?

Lozik commented 8 years ago

I suppose because the format character "A" and "j" trigger entirely different results: Okay, I guess there is no crucial difference between "d" and "j" but for "A" there is! "Y" describes the year in 4 digits whereas "A" describes the "Uppercase Ante meridiem and Post meridiem" (Source: php.net). But to be exact: One does not write down a french date by "Y-m-j". So, either, you write it as "d/m/Y" (Source: Wikipedia) or you are keeping the ISO 8601 ("Y-m-d").