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(server) harden EXIF extraction #1347

Merged
merged 3 commits into from
Jan 17, 2023
Merged

Conversation

alextran1502
Copy link
Contributor

  • chore(server) Harden EXIF extraction
  • Remove unused function in timeutil

@vercel
Copy link

vercel bot commented Jan 17, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
immich ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 17, 2023 at 7:05PM (UTC)
immich-code-coverage ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 17, 2023 at 7:05PM (UTC)

@vercel vercel bot temporarily deployed to Preview – immich-code-coverage January 17, 2023 19:04 Inactive
@vercel vercel bot temporarily deployed to Preview – immich January 17, 2023 19:05 Inactive
@alextran1502 alextran1502 merged commit 3e4a14b into main Jan 17, 2023
@alextran1502 alextran1502 deleted the chore/hardern-exif-extraction branch January 17, 2023 19:41
if (!timeUtils.checkValidTimestamp(modifiedAt)) {
createAssetDto.modifiedAt = await timeUtils.getTimestampFromExif(originalPath);
if (!timeUtils.checkValidTimestamp(createAssetDto.modifiedAt)) {
createAssetDto.modifiedAt = new Date().toISOString();
Copy link
Contributor

Choose a reason for hiding this comment

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

This value is no longer coming from exif. Do we want to update it when we save createdAt in the processor?

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.

None yet

2 participants