3 support issues
For additional help, check out the developer's support site.
- All
- Questions
- Suggestions
- Problems
Thomas H
May 16, 2024
Times seem to be pushed forward by 1 hour
Hey man, love the extension but recently it seems like the time is incorrect at the moment? for instance 5pm EST is currently showing at 23:00 BST but when I do it through Google it shows at 22:00 BST. Thanks in advance for any help!
- Report illegal content
- Copy link
Dan Kollmorgen
Mar 8, 2022
Need to localize entire datetime string, not just time portion
I suffer with a web app that displays times reported in UTC. (For some reason, probably sheer laziness, they don't localize to the viewer's timezone or allow toggling between UTC and local time.)
Enter your extension! It is perfect for my use case, except it apparently only localizes the time portion of a date/time string. Unfortunately, this means converted times are just plain incorrect for part of each day, when the output datetime is a different day than the input.
From looking at the output in the developer tools, it looks like a simple fix -- you just need to extract and use the full datetime string for localization, instead of only the time portion. You could have an array of regular expressions to detect/extract times in different formats, maybe allowing the user to choose only the one(s) they want in case it's too slow checking all of them.
You can see this in the sandbox using the following test string:
Tue, 08 Mar 2022 04:05:02 GMT -> converts to Tue, 08 Mar 2022 08:05:02 PM which is wrong -- the correctly localized time is Mon, 07 Mar 2022 08:05:02 PM.
Of course, this is just one of many datetime formats you should support (e.g. yyyy-mm-dd H:M:S GMT, etc. -- see strftime/strptime format codes for examples/inspiration.)
Thanks again for creating this extension! I was tempted to write my own, but luckily found yours first. With this bug fixed it will be even more useful.
P.S. I found the source on github and will probably follow-up there.
- Report illegal content
- Copy link
Andrew Newell
Feb 1, 2021
Extension is hard to find for native English speakers
"Localise" is a misspelling of "Localize" which makes this hard for native English speakers to find this extension. Thanks for the great extension!
- Report illegal content
- Copy link