Skip to content

Wrong date / time on fresh install, pull #22

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

Closed
mccount opened this issue Oct 11, 2021 · 6 comments · Fixed by #23
Closed

Wrong date / time on fresh install, pull #22

mccount opened this issue Oct 11, 2021 · 6 comments · Fixed by #23
Labels
🐞 Bug Something isn't working 🎨 UI UI or layout related issue

Comments

@mccount
Copy link

mccount commented Oct 11, 2021

grafik

@pawelmalak
Copy link
Owner

That's weird. I created two new instances using both tags and it's working fine.
What browser are you using and on what platform?

@Starf0x
Copy link

Starf0x commented Oct 12, 2021

I have both, the internal version has the correct date and time, the one external (nginx) version shows indeed NaN.

@pawelmalak
Copy link
Owner

I have both, the internal version has the correct date and time, the one external (nginx) version shows indeed NaN.

What browser and platform?

I have three instances of snippet box running:

  • local only - using latest tag
  • local only - using arm tag
  • behind nginx reverse proxy - using latest tag

and I'm getting correct dates on all of them so it might be related to browser you are using.

@firstchrono
Copy link

I'm seeing this issue. I'm using the local only latest tag and the browser is FF 93.

It does appear to be browser related. If I switch to chrome, it works fine.

@pawelmalak
Copy link
Owner

So it seems that it works on chromium based browsers (tested on Chrome, Opera and Edge) but gives NaN on Firefox and Safari. I will try to fix it when I have a moment.

@pawelmalak pawelmalak added 🐞 Bug Something isn't working 🎨 UI UI or layout related issue labels Oct 12, 2021
@mccount
Copy link
Author

mccount commented Oct 12, 2021

Web development at it's best. I can confirm this is Firefox related only. (no access to safari)
Thanks for your effort @pawelmalak, take your time!

@pawelmalak pawelmalak linked a pull request Oct 14, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 Bug Something isn't working 🎨 UI UI or layout related issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants