Gig-o-Matic / GO3

GNU General Public License v3.0
10 stars 8 forks source link

uk etc. date formatting isn't consistently working #480

Closed aaronoppenheimer closed 5 months ago

aaronoppenheimer commented 6 months ago

A user complained that, with language set to eng(uk etc), a gig for "July 6" - 6/7/24 - was instead being emailed as 7/6/24. I could not reproduce - until I tried in a private window and got the same behavior. I think it's only that the user's locale is not consistently being activated - the gig date is being stored properly, just formatted wrong. At some point in using the gig-o the user's locale gets set in the session and from then on it works fine. But before that (and I'm not sure where) the locale is just set to the default of eng(US).

I'm sure there's some "user has just logged in" function that gets called on the user object where we should be setting the locale.

aaronoppenheimer commented 6 months ago

Addressed in #481