Extended-Thunder / send-later

Schedule messages to be sent at a specific time.
Mozilla Public License 2.0
124 stars 17 forks source link

Time information mismatch. #704

Closed AndrewPrzelucki closed 7 months ago

AndrewPrzelucki commented 7 months ago

Prerequisites

Describe the bug

There is a time mismatch, when setting the minutes, between what is selected and what is shown in the button. This never happened before (I'm using this plugin since about a year). Here are some pics:

image

Changing the minutes shows 20 minutes difference in this case.

And below the minutes on the button are shown one minute ahead and then correctly for the same amount of minutes.

image image

How to reproduce

The problem is due to setting the specified time to default and clearing - a few times around. I send a few emails at a specific time, one after another, so I first set an initial time and save as default for two other emails. Then I specify the time to be a minute later for the next two or three emails. Today however I used the button to clear defaults, saved as default again and that's how this happens. Try hitting the clear defaults button more than once, the same for the save as default, but it does happen when clearing and saving two or three times. And it stays stuck like that for the next (Send Later) window.

Expected behavior

Not clearing the defaults, just saving new defaults when setting a new time, does not produce this but. That's what I did until now and the time was correctly shown in the button every time. So it's the clear defaults button that induces this error.

Additional context

No response

Operating System

Kubuntu

Operating System Version

23.10

Thunderbird version

115.9.0 (64-bit)

Send Later start-up string

Send Later version 10.4.0 on Thunderbird 115.9.0 (20240314154241) [linux x86-64] UI locale en-US, Date Locale pl-PL

AndrewPrzelucki commented 7 months ago

I forgot to mention, that despite the incorrect time displayed on the button, when I checked the Send Later schedule list, the times are saved correctly as I picked them. So even though the button displayed incorrect time, the plugin did save the correct time that I picked - that's what the list shows.

jikamens commented 7 months ago

This appears to be a date formatting mismatch issue, as described in the user guide.