Varying date values in Frontmatter between local PHP and GitHub Action #1062
Unanswered
robindotis
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There seems to be a difference in how frontmatter dates are represented between my local PHP install and when running on GitHub actions.
My frontmatter looks something this
I am reading the frontmatter using this command, which inside a loop going through all my posts in markdown format:
The echo statement gives different output when run on my local machine compared to GitHub Actions.
On my local machine I get timestamps:
But on GitHub I get the actual string from the frontmatter YAML:
I don't understand why there is this difference. I would expect the output to be as with the GitHub Action.
Could this be a config setting on my local machine?
Any ideas would be welcome. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions