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

Adds timezone support #113

Merged
merged 10 commits into from
Jan 9, 2024
Merged

Adds timezone support #113

merged 10 commits into from
Jan 9, 2024

Conversation

dalonsoa
Copy link
Collaborator

@dalonsoa dalonsoa commented Dec 21, 2023

Adds timezone support to Paricia. Several aspects had changed:

  • Timezone support is enabled in Django.
  • A new timezone field has been added to the Station model.
  • Times read from file when ingesting data have been updated to use the timezone of the associated Station.
  • Times used in input forms for validation have been updated to use the timezone of the associated Station.

After these changes, all time data saved into the database will include timezone information, simplifying the comparison of data recorded in stations from sitting in different timezones.

Due to #127 , tests are failing. A separate PR will be open with a temporary fix to that issue.

@dalonsoa dalonsoa linked an issue Dec 21, 2023 that may be closed by this pull request
3 tasks
@dalonsoa dalonsoa marked this pull request as ready for review January 9, 2024 10:24
@dalonsoa dalonsoa merged commit 8256832 into develop Jan 9, 2024
5 checks passed
@dalonsoa dalonsoa deleted the timezone branch January 9, 2024 13:04
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

Successfully merging this pull request may close these issues.

Enable time zone support
1 participant