• Resolved antoninp

    (@antoninp)


    I would like to only show the taken Date of the picture in the lightbox and hide the taken Time. Is there a way to do it (with CSS or Javascript maybe) ?

    I don’t want to show the Time metadata because the Lightbox substract (or add) the timezone to the taken time of my pictures, instead of just showing the taken time (regardless of the timezone metadata). Example : one of my picture is taken in Western Australia at 16:05 UTC+8 (metadata are correctly written on my jpeg file), and the lightbox shows a taken time of 08:05 instead of 16:05. Another picture taken in New Zealand at 19:25 UTC+13 is shown in the lightbox at 06:25 instead of 19:25.

    • This topic was modified 1 year, 3 months ago by antoninp.
Viewing 1 replies (of 1 total)
  • Plugin Support Val Meow

    (@valwa)

    Hey @antoninp! ??

    Unfortunately, there isn’t a straightforward method using JavaScript or CSS to remove only this part of the timestamp display. The time is sourced directly from the EXIF data of your image. While you can enable timezone compensation, it only applies to your WordPress time. Therefore, it may not be effective for pictures taken in various global locations.

    For more assistance, feel free to contact me through our support platform. I’ll be able to provide more in-depth help there. ??

Viewing 1 replies (of 1 total)
  • The topic ‘Hide Time Metadata’ is closed to new replies.