LycheeOrg / Lychee-front

JS implementation of Lychee frontend
https://lycheeorg.github.io/
MIT License
48 stars 53 forks source link

Don't rely on cameraDate #210

Closed kamil4 closed 4 years ago

kamil4 commented 4 years ago

This fixes a regression I've noticed where we no longer print the take date of photos underneath their names in the album view. This is because the server no longer sends the cameraDate field. We can rely on the takedate instead though.

sonarcloud[bot] commented 4 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

ildyria commented 4 years ago

This is because the server no longer sends the cameraDate field. We can rely on the takedate instead though.

Yes, I noticed server side that we were just setting cameraDate if takedate was not '', So I removed it when I changed the backend for an easier addition of smart albums.

I though I fixed most of the places in the front end. I guess I missed that one.