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

chore(web): remove stray dateTimeOriginal reference #12796

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

jrasm91
Copy link
Contributor

@jrasm91 jrasm91 commented Sep 19, 2024

Basically:

  • asset.fileCreatedAt should only ever be used for sorting within a bucket
  • dateTimeOriginal should only be used for displaying in the detail view when there is a timezone, and we can probably deduce this from localDateTime itself in the future
  • localDateTime should be used for everything else

Copy link
Member

@bo0tzz bo0tzz left a comment

Choose a reason for hiding this comment

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

We should probably document these distinctions somewhere

@jrasm91 jrasm91 merged commit cfc575d into main Sep 19, 2024
36 checks passed
@jrasm91 jrasm91 deleted the chore/remove-stray-reference branch September 19, 2024 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants