-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Editing date with widgets generates "invalid date" #630
Comments
This is not the behavior I see. See the attached video below.
Regardless, this is a locale issue of some sort, because whatever locale Send Later is parsing dates in doesn't understand the AM. If you install version 10.1.6 of Send Later (instructions below) and then restart and search for "locale" in your error console (type Ctrl-Shift-J to open it and then enter locale in the filter box at the top), you should see a line from Send Later showing what your configured UI and OS locales are. My guess is that your OS locale is one where the date parser doesn't understand how to parse "AM". In any case you can work around this problem by enabling customized date formats in the Send Later preferences and setting the short format to this: I'm closing this issue because to my knowledge the add-on is behaving as designed and in any case the date format customization is exactly intended to provide a workaround for issues like this, so a fix is available already. Screencast.from.2023-09-04.21-21-36.webmTo install 10.1.6:
|
Version 10.1.6 installed but I don't find "locale" on the error console output, only:
|
Try disabling and re-enabling the add-on on the add-ons page and then check the error console again. Sometimes for some reason messages that get logged right when Thunderbird is starting up don't show up in the error console. |
Shown now but:
Looks like a rather common Locale. |
That's fascinating. I have no idea why it's behaving this way. Reopening the issue to remind me to give it some more thought and try to figure it out. Nevertheless the workaround I suggested above should work for you. Let me know if it doesn't. |
I think I may have found the issue. When I input a date using the date and time selectors I get The character inserted by the widget is I have no idea why the widget inserts this character instead of a space... |
Aha: nodejs/node#45938 |
This issue should be fixed in release 10.1.7 of Send Later. To check what version of Send Later you have:
This release is not yet available for download from addons.thunderbird.net, but you can download and install it from its GitHub release page as follows:
Note that this is a prerelease. While we make every effort to ensure that prereleases are stable, they are a bit more likely to have bugs, so proceed with caution. If you prefer to wait, the release will eventually be available on addons.thunderbird.net, and unless you've turned off automatic add-on updates, Thunderbird will eventually update to the new version automatically. To update immediately once it's available:
Please let me know if you still see this issue in this release. |
Confirmed, bug is now gone. Thanks! |
Steps to reproduce:
8
TAB0
TABA
(for AM)After 5. the date shows as
mm/dd/yyyy
, the hour--:-- --
and the "Send at" button showsEnter a valid date above
.AM
from theSend at:
textual field makes the widget recognize the date and the Send button shows the correct time estimate.I don't have any
LC_
variables defined.Thunderbird is version 102.14.0
Send Later is v10.1.5
Screenshots
After manually setting
AM
in the widgetAfter closing and opening the Send Later dialog when a time and date had been previously selected using the widgets
After deleting
AM
in theSend at
field.The text was updated successfully, but these errors were encountered: