Time incorrectly displayed in the 24-hour format (it's displayed as 24:xx)


Time is incorrectly displayed in emails that were received between midnight and 1:00 in the 24-hour format.
They should appear as 00:xx and not 24:xx.

To Reproduce…

Steps to reproduce the behavior:

1 - Use the 24 hour format
2 - Receive an email between 00:00 and 00:59.
3 - Check the email date and time in your inbox

Expected Behavior

The time should appear as 00:xx and not 24:xx (check screenshot)


Screenshot 2022-12-01 160852


  • OS and Version: Windows 11 22H2
    • Installation Method: exe
  • Mailspring Version: 1.10.7

Additional Context

Thanks for pointing this out, looks like the JS code for international datetime didn’t quite work the way I expected. There’s a PR that fixes this issue - originally fixing a 12pm issue, but will fix this too - just waiting for it to be merged.

1 Like

No problem and thanks for fixing!