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

Use TIME_ZONE from settings for AIP Package.stored_date values #637

Merged
merged 1 commit into from
Aug 26, 2022

Conversation

tw4l
Copy link
Contributor

@tw4l tw4l commented Aug 26, 2022

Related to archivematica/Issues#1529

This commit is a small follow-up to #636, which makes the values saved toPackage.stored_date for AIPs (including replicas) timezone-aware according to the Storage Service's TIME_ZONE setting.

For more on this, see: https://docs.djangoproject.com/en/1.11/topics/i18n/timezones/#time-zones

@tw4l tw4l changed the title Use TIME_ZONE from settings for stored_date Use TIME_ZONE from settings for Package.stored_date Aug 26, 2022
@tw4l tw4l changed the title Use TIME_ZONE from settings for Package.stored_date Use TIME_ZONE from settings for AIP Package.stored_date values Aug 26, 2022
@tw4l tw4l marked this pull request as ready for review August 26, 2022 15:35
@tw4l tw4l requested review from replaceafill and a team August 26, 2022 15:35
Copy link
Member

@replaceafill replaceafill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking care of it!

@tw4l tw4l merged commit 60709ba into qa/0.x Aug 26, 2022
@tw4l tw4l deleted the dev/timezone-aware-dates branch August 26, 2022 15:41
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.

2 participants