I have a template, named user.html, w/ this line of code:
<p>Member since {{ moment(user.member_since).format('L') }}. Last seen {{ moment(user.last_seen).fromNow() }}.</p>
Which renders the following page:
It looks like it's not rendering anything, yet looking at the source code of that same page:
...I can see my timestamps between tags.
My question is: What is stopping the browser from displaying my timestamp in the browser?
Things to consider:
- I'm using Flask-Moment==0.5.1 (pulled straight from pip freeze command)
- I'm pulling the timestamp from a PostgreSQL database (image below)
- I'm following the Flask Web Development book, by Miguel Grinberg (pulled code straight from there)
- I've already checked the Flask-Moment github page and the moment.js documentation and found no answer to this question.
Any insight will be greatly appreciated!
Timestamp registry in table


