miguelgrinberg / flasky

Companion code to my O'Reilly book "Flask Web Development", second edition.
MIT License
8.52k stars 4.2k forks source link

Local time not rendering using Flask-Moment #534

Closed toludaree closed 2 years ago

toludaree commented 2 years ago

My local time failed to render when I ran the application. It showed a . character instead. I inspected the HTML file and saw some span tags around it. I do not understand why it did not render.

I also noticed that someone also had this issue when you made an article but there was no clear-cut solution to it on the forum.

I've attached some images also..

flask-moment-issue2

flask-moment-issue3

miguelgrinberg commented 2 years ago

The moment.js library failed to load, it's right there in your screenshot. Looks for an error message in your console.

toludaree commented 2 years ago

Thanks, Miguel.

It was an INTERNET DISCONNECTED error. It's working now