I’m hoping to add a timestamp / publication time to my articles.
I would like it to appear next to the date (and then move down reading time to the next line).
The kind folks at support directed me to this page -
But that does not directly deal with what I need, which is the specific code to add pub time.
It does include the following sentence - See the Moment.js Display tokens for more options. - which seems like it would offer some clues.
But that page - Moment.js | Docs - seems to be in a completely different format from how the code in my post-meta.hbs file appears, as follows:
<div class="gh-article-meta">
<time class="gh-article-date" datetime="{{date format="YYYY-MM-DD"}}">{{date}}</time>
</div>
In the interest of not bothering the support folks again, I was hoping someone here might clarify: Do I need to completely change the format of all of this code if I want to add pub time? (Otherwise, idk what to make of the moment.js info.) Or is there simply some time-related code I could add to this to add pub time to what displays? If so, where can I find examples of different formatting options for that - and do I put it inside the string that includes the date, or is it separate from that?
I took a shot in the dark and tried throwing in {{time}} after date… but I didn’t get anywhere. This has all got to be spelled out somewhere but I could not find it. I’m about ready to just manually start typing in my pub time somewhere in the story…
Maybe someone who has already added timestamps can clue me in…
THANK YOU! :)



