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

Change date_created and date_updated to timestamps in website-cms #4

Open
paulrudy opened this issue Aug 21, 2024 · 0 comments
Open

Comments

@paulrudy
Copy link

Most of the date_created and date_updated fields in the website-cms template are of type Timestamp, but a few are of type Datetime: Posts and Pages if memory serves. Since these fields have relative time selected, the Datetime presents a problem where if creating a post from a region that is not UTC, the relative date appears to be in the future or past.

My suggestion would be to change these fields to be of type Timestamp instead. With that change, relative dates work with the user's local time.

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

No branches or pull requests

1 participant