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

Timestamps in Django admin site ignore timezone #42

Closed
jcass77 opened this issue Nov 17, 2018 · 1 comment
Closed

Timestamps in Django admin site ignore timezone #42

jcass77 opened this issue Nov 17, 2018 · 1 comment

Comments

@jcass77
Copy link
Owner

jcass77 commented Nov 17, 2018

The runtime timestamps that are displayed for django-apscheduler in the Django admin site are always rendered using the same "%Y-%m-%d %H:%M:%S" time format.

This can be confusing as date times rendered elsewhere by standard Django uses the format specified in the DATE_TIME setting instead, which defaults to 'N j, Y, P'.

The current implementation also does not cater for displaying date times in the user's local or preferred format.

As an example, the UCT time 2018-11-19 06:10:00 should be displayed as Nov. 19, 2018, 8:10:00 a.m. if the user's local time is UCT+2, to align with standard Django.

@arhantpanda
Copy link

Having similar issue.

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

2 participants