LCOGT / snex2

Repo for the updated Supernova Exchange, built with the TOM Toolkit and used by the Global Supernova Project collaboration
https://test.supernova.exchange
GNU General Public License v3.0
0 stars 5 forks source link

Update settings.py with correct datetime format #12

Closed jchate6 closed 1 month ago

jchate6 commented 11 months ago

An issue has been discovered in the setup for tomtoolkit that mistakenly sets

DATETIME_FORMAT = 'Y-m-d H:m:s'

in settings.py. This code incorrectly used m (month) instead of i (minute) in the time format.

We are deploying a release to tomtoolkit that will correct this bug for future TOMs.

This change is needed for your TOM to behave correctly.

jchate6 commented 11 months ago

This is the output template django format: https://docs.djangoproject.com/en/5.0/ref/templates/builtins/#std:templatefilter-date