question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

Description

I just noticed that I have this display errors in the UI:

image

image

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:closed
  • Created 10 months ago
  • Reactions:2
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

3reactions
louislamcommented, Nov 21, 2022

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.

2reactions
louislamcommented, Dec 15, 2022

I just decided to fix it in Uptime Kuma first by copying the timezone plugin from dayjs.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found