Issue with Date Formatting #50
Closed
muditporwal
started this conversation in
General
Replies: 2 comments
-
I removed the dateFormat in the
Reference in code :
But the example-site is using the dateFormat and I checked it seems to also be having a custom front metadata in the posts : |
Beta Was this translation helpful? Give feedback.
0 replies
-
I have updated the demo with the latest one. Can you please check demo code here. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm currently experiencing an issue with the date formatting in my blog. In my
hugo.toml
file located in the project root, I have specified the date format as follows:And, when I create a post using Hugo, the date in the front matter appears like this:
date = 2024-01-30T21:11:02+08:00
But when the post is rendered in the browser, it displays the date as 30 January 21112(or something similar).
I'm wondering if there's anything else I need to do to ensure proper date formatting. Any guidance or suggestions on resolving this issue would be greatly appreciated.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions