You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Mathieu,
I noticed hard-coded date/time formatting in kiosks( 1, 2, 3) and mobile view (4, 5).
I was going to submit a PR to make them coherent with all other Django and Fullcalendar variables defined in settings.py, but I soon realized that pickadate library uses another formatting for time and date, which is different from both Django and FullCalendar.
How would you suggest to proceed? Shall I add an two additional variables to settings.py?
The text was updated successfully, but these errors were encountered:
I think there aren't many options here, outside of adding those variable to settings.py.
The only thing I can think off would be to also try to manually convert from js to pickadate's limited format, if possible.
Since the format for pickadate is extremely limited, it would just consist of a few if statements. See py_to_js_date_formats in utilities.py. I would do something similar or even simpler.
It would only attempt to convert if the new variables are not set in settings.py
r-xyz
added a commit
to r-xyz/NEMO
that referenced
this issue
Jun 18, 2024
Hi Mathieu,
I noticed hard-coded date/time formatting in kiosks( 1, 2, 3) and mobile view (4, 5).
I was going to submit a PR to make them coherent with all other Django and Fullcalendar variables defined in
settings.py
, but I soon realized that pickadate library uses another formatting for time and date, which is different from both Django and FullCalendar.How would you suggest to proceed? Shall I add an two additional variables to settings.py?
The text was updated successfully, but these errors were encountered: