This brings back memories of trying to match locale info from my local computer, a remote server, a MySQL db, and a different Python app in a different server region.
It was for an international email campaign so each users email needed to match their in app locale for number and currency formatting, but there were like a half a dozen different layers of apps and servers that all handled locales differently.
Add in a hard deadline for the client and oof, that was a painful week.
LC_ALL=C is now cursed knowledge that resides in my brain. I wasn’t able to install Babel or any other libraries because security reasons so I had to handle everything manually.
I just tested, entering “1/2” into excel results in “02-Jan”
Truly cursed.
I think it should follow regional settings, but don’t have high hopes (nor much the experience)
This brings back memories of trying to match locale info from my local computer, a remote server, a MySQL db, and a different Python app in a different server region.
It was for an international email campaign so each users email needed to match their in app locale for number and currency formatting, but there were like a half a dozen different layers of apps and servers that all handled locales differently.
Add in a hard deadline for the client and oof, that was a painful week.
LC_ALL=C
is now cursed knowledge that resides in my brain. I wasn’t able to install Babel or any other libraries because security reasons so I had to handle everything manually.Do =1/2 see what it gives
0.5 but keeps the fraction in the formula bar.
That one doesn’t surprise me at all.
Then go format as date on the cell
Jan 1, 1900
And as a time it’s exactly 12 PM
Weird. When I entered 0.5 as a raw figure it gave me Jan 0, 1900 at 12 pm.