top | item 36008486

(no title)

benjoffe | 2 years ago

Thanks, there is some attempt in the code to auto select US/Canada date format if the user's timezone is in the USA or Canada, but I didn't actually test it to see if it is activated correctly. Any US user's able to chime in if it does?

Even if it works, I'll probably take your suggestion add a tip below the date to clarify the date format for the user's first session.

discuss

order

tempestn|2 years ago

What do you consider the Canadian format? Most people I know prefer YYYY-MM-DD as it's non ambiguous. Anytime you see XX-XX-YYYY (or XX-XX-XX) it could just as easily be be little endian or weird American.

benjoffe|2 years ago

The intention is to present dates the way they often are found in that country (not just the "gold standard"). From my understanding Canadians often encounter dates in all three formats you noted (although often using named months to avoid ambiguity).

All three date formats are used in Weekle when set to Canadian mode, and fully numeric d/m/y or m/d/y dates are only used if the date is >12 to avoid ambiguity.

nonethewiser|2 years ago

It did not default for me.

Im in the US, Eastern TZ. Defaulted to English international.

Cool web app btw. I like the whole idea. Just a neat little self contained lesson.

pimlottc|2 years ago

Until you have time to test your localizations, you’re better off just using simple common format.

benjoffe|2 years ago

The initial popup dialogue shows the default locale setting with a "change" button right next to it, and it can be changed at any time on the settings tab.