allusion-app / Allusion

A free and open source desktop application for managing your visual library
GNU General Public License v3.0
662 stars 42 forks source link

Preview bug with date format #612

Open marcusagm opened 7 months ago

marcusagm commented 7 months ago

Describe the bug

When I try to open some images to preview, this error occurs. It doesn't happen for all images. My MacBook's date format is dd/mm/yyyy (pt-br)

Print

I noticed that the image was saved without the creation data via the Chrome extension.

image

To Reproduce Steps to reproduce the behavior:

  1. Get an image without one of the date information.
  2. Index the image in Allusion/
  3. Double-click the thumbnail to preview, and the error will happen.

Expected behavior Open image preview without bugs. If the file has no information, it must be presented as empty.

Allusion version

Desktop OS

Antoine-lb commented 7 months ago

Is it always for the same images?

marcusagm commented 6 months ago

Yep, the same images and any other new images without a date. I suggest checking if the date exists before showing it.