Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standardize datetime display on different pages #14

Closed
darianmiller opened this issue May 5, 2023 · 5 comments
Closed

Standardize datetime display on different pages #14

darianmiller opened this issue May 5, 2023 · 5 comments

Comments

@darianmiller
Copy link
Contributor

Home page shows 08/11/2019 for Nov 8
Post shows Nov 8, 2019
Archive shows 2019. 08 Nov

@darianmiller
Copy link
Contributor Author

Author's work done on: cotes2020/jekyll-theme-chirpy#716

@darianmiller
Copy link
Contributor Author

JS datetime format strings: https://day.js.org/docs/en/display/format

@darianmiller
Copy link
Contributor Author

Current implementation is non-standard and if locale setting is changed, then a refresh is done and user sees a flicker.

@darianmiller
Copy link
Contributor Author

Before change
image
image
image

@darianmiller
Copy link
Contributor Author

After formatting changes:
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant