[15.0.0] inaccurate installation date #1975

Closed
opened 2026-10-05 01:02:54 +02:00 by adam · 0 comments
Owner

With Piwigo 15 piwigo.org has started to receive general statistics. See #2166 Very interesting first results!

We have detected a problem with the get_installation_date function. For some Piwigo installations, it may return null (if there is no user #2) or a fake date 0000-00-00 00:00:00. This fake date is possible if the Piwigo was installed before 2005, see https://github.com/Piwigo/Piwigo/commit/9bafdff17166028ed7448487d0ca8a19f3c2fbb3

We need this function to get more robust.

With Piwigo 15 piwigo.org has started to receive general statistics. See #2166 Very interesting first results! We have detected a problem with the `get_installation_date` function. For some Piwigo installations, it may return `null` (if there is no user `#2`) or a fake date `0000-00-00 00:00:00`. This fake date is possible if the Piwigo was installed before 2005, see https://github.com/Piwigo/Piwigo/commit/9bafdff17166028ed7448487d0ca8a19f3c2fbb3 We need this function to get more robust. <!-- github-sync-id:2642253035 -->
adam closed this issue 2026-10-05 01:02:54 +02:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1975