Invalid Date displayed on UI
See original GitHub issue⚠️ Please verify that this bug has NOT been raised before.
- I checked and didn’t find similar issue
🛡️ Security Policy
- I agree to have read this project Security Policy
Description
I just noticed that I have this display errors in the UI:


I tried to look into the DB but the datestamps look alright:
sqlite> select * from heartbeat limit 10;
1|1|1|1|200 - OK|2022-09-12 08:19:02.186|223|0|0
2|0|1|1|200 - OK|2022-09-12 08:20:02.420|174|60|0
3|0|1|1|200 - OK|2022-09-12 08:21:02.602|164|60|0
4|0|1|1|200 - OK|2022-09-12 08:22:02.774|199|60|0
5|0|1|1|200 - OK|2022-09-12 08:23:02.982|270|60|0
6|0|1|1|200 - OK|2022-09-12 08:24:03.262|324|60|0
7|0|1|1|200 - OK|2022-09-12 08:25:03.595|190|60|0
8|0|1|1|200 - OK|2022-09-12 08:26:03.796|189|60|0
9|0|1|1|200 - OK|2022-09-12 08:27:03.994|205|60|0
10|0|1|1|200 - OK|2022-09-12 08:28:04.210|152|60|0
Kind regards, Alex
👟 Reproduction steps
Just started with docker-compose without any specialties.
👀 Expected behavior
The UI should show the correct timestamps
😓 Actual Behavior
All timestamps show Invalid Date
🐻 Uptime-Kuma Version
1.18.5
💻 Operating System and Arch
Ubuntu 20.04
🌐 Browser
Chromium
🐋 Docker Version
Docker version 20.10.20, build 9fdeb9c
🟩 NodeJS Version
No response
📝 Relevant log output
No response
Issue Analytics
- State:
- Created 10 months ago
- Reactions:2
- Comments:15 (7 by maintainers)
Top Results From Across the Web
Material-UI datepicker invalid date format issue - Stack Overflow
My problem is, when I load the last_changed date into state which has the value of "19/10/2021" back into this "Date last changed"...
Read more >Invalid Date Format when field is cleared · Issue #221 - GitHub
When the CLEAR button is used, the input value becomes Unknown and the error Invalid Date Format is displayed under the input field....
Read more >Material picker - set invalid date message - CodeSandbox
Material picker - set invalid date message. https://github.com/mui-org/material-ui/blob/master/docs/src/pages/components/pickers/MaterialUIPickers.tsx.
Read more >[OutSystems UI Web] How to Translate DatePicker "Invalid ...
Hello,. I am currently using "DatePicker component". When User inputted invalid date like "2020-04-99", it show as "Invalid date" as capture.
Read more >Prevent Invalid DateTimePicker Values - Kendo UI for jQuery
Check if the new value of the DateTimePicker is null , which will indicate whether the entered value is invalid or not. Execute...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

The person who decided to create so many space characters and the no-width character should be put in jail honestly.
It is not the first time that create a trouble for me and it is not the last time too I believe.
I just decided to fix it in Uptime Kuma first by copying the timezone plugin from dayjs.