#1 2024-11-06 14:52:24

Phil35
Member
France
2022-10-11
90

[resolved] piwigo 15 : the new display of dates for album is at least disturbing

Hello,

Migration to piwigo 15 : done
I discover that the display done for albums is at least disturbing at last a nightmare.

- Why piwigo re-arrange the date (name) of album?
- Is there a parameter to modify to avoid this?

See screenshot :https://ibb.co/ncJhr855

https://i.ibb.co/KqvC6z3/Capture-d-cran-du-2024-11-06-14-48-36.png

Thank
Phil

- Piwigo 15.0.0
- OS: Linux
- PHP: 8.2.24
- MySQL: 10.5.26-MariaDB-0+deb11u2
- Graphic library : External ImageMagick 6.9.11-60


Piwigo 15.3 on production platform with raspberry pi 4 Model B Rev 1.4 (OS 11 (bullseye))

Offline

 

#2 2024-11-06 15:49:53

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13887

Re: [resolved] piwigo 15 : the new display of dates for album is at least disturbing

It is highly unlikely that Piwigo has decided to rearrange digits in the name of your album. Are you sure you don't have 2 albums? One with name "2024 10 18-27" and another one with name "18-27 10 2024".

Offline

 

#3 2024-11-07 18:39:07

Phil35
Member
France
2022-10-11
90

Re: [resolved] piwigo 15 : the new display of dates for album is at least disturbing

Thanks you @plg, for your answer
however the answer is no

...
drwxrwx--- 3 www-data www-data 12288 23 juin  19:09 2024_06_22-23
drwxrwx--- 2 www-data www-data  4096 29 juin  11:36 2024_06_28
drwxrwx--- 3 www-data www-data  4096 30 juin  18:32 2024_06_29
drwxrwx--- 2 www-data www-data  4096  4 juil. 18:30 2024_07_04
drwxrwx--- 3 www-data www-data 12288  8 juil. 18:45 2024_07_06
drwxrwx--- 2 www-data www-data 12288  3 sept. 08:13 2024_07_13
drwxrwx--- 3 www-data www-data 24576 27 août  10:43 2024_07_25-08_21
drwxrwx--- 2 www-data www-data  4096 11 sept. 11:35 2024_07_26-08-11
drwxrwx--- 3 www-data www-data  4096 27 août  12:33 2024_08_21-25
drwxrwx--- 2 www-data www-data  4096 30 août  17:19 2024_08_30
drwxrwx--- 3 www-data www-data  4096  8 sept. 18:41 2024_09_06-09
drwxrwx--- 3 www-data www-data  4096 15 sept. 18:50 2024_09_14-15
drwxrwx--- 3 www-data www-data 20480  2 nov.  09:53 2024_09_21-10-01
drwxrwx--- 2 www-data www-data  4096 13 oct.  18:42 2024_10_11
drwxrwx--- 3 www-data www-data 32768 30 oct.  13:50 2024_10_18-27

one album is one directory in one  format like: YYYY_MM_DD  or YYYY_MM_DD-DD or YYYY_MM_DD-MM_DD
You can see for another one:
    directory = 2024_10_11
   and incorrect display on the right (shared image): 11 10 2024

So weird
Phil


Piwigo 15.3 on production platform with raspberry pi 4 Model B Rev 1.4 (OS 11 (bullseye))

Offline

 

#4 2024-11-07 18:42:02

Phil35
Member
France
2022-10-11
90

Re: [resolved] piwigo 15 : the new display of dates for album is at least disturbing

What I may share to help ?

example:
~pi/scripts/dtree .
/var/www/html/photos/piwigo/galleries/2024
`-----2024_01_02
|       `-----pwg_representative
`-----2024_01_03-07
`-----2024_01_13
|       `-----pwg_representative
`-----2024_02_03
|       `-----pwg_representative
`-----2024_02_10
`-----2024_02_12-16
|       `-----pwg_representative
`-----2024_02_22-25
`-----2024_03_01-10
|       `-----pwg_representative
`-----2024_03_16
|       `-----pwg_representative
`-----2024_03_22
`-----2024_03_30
|       `-----pwg_representative
`-----2024_04_05
`-----2024_04_07
|       `-----pwg_representative
`-----2024_04_08-21
|       `-----pwg_representative
`-----2024_05_04
`-----2024_05_04-13
|       `-----pwg_representative
|       `-----pwg_representative
`-----2024_05_14-17
`-----2024_05_24-28
|       `-----pwg_representative
`-----2024_05_25
`-----2024_06_01
`-----2024_06_14-16
|       `-----pwg_representative
`-----2024_06_22-23
|       `-----pwg_representative
`-----2024_06_28
`-----2024_06_29
|       `-----pwg_representative
`-----2024_07_04
`-----2024_07_06
|       `-----pwg_representative
`-----2024_07_13
`-----2024_07_25-08_21
|       `-----pwg_representative
`-----2024_07_26-08-11
`-----2024_08_21-25
|       `-----pwg_representative
`-----2024_08_30
`-----2024_09_06-09
|       `-----pwg_representative
`-----2024_09_14-15
|       `-----pwg_representative
`-----2024_09_21-10-01
|       `-----pwg_representative
`-----2024_10_11
`-----2024_10_18-27
|       `-----pwg_representative


Thanks

Last edited by Phil35 (2024-11-07 18:44:13)


Piwigo 15.3 on production platform with raspberry pi 4 Model B Rev 1.4 (OS 11 (bullseye))

Offline

 

#5 2024-11-07 18:45:37

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13887

Re: [resolved] piwigo 15 : the new display of dates for album is at least disturbing

In your database, table "categories", can you spot the album and tell us if you have a difference in the "name" column and in the "dir" column?

Offline

 

#6 2024-11-09 18:51:40

Phil35
Member
France
2022-10-11
90

Re: [resolved] piwigo 15 : the new display of dates for album is at least disturbing

hello,
using mysql

select name,dir from piwigo_categories where name like "2024%";

2024 07 25-08 21               | 2024_07_25-08_21               |
| 2024 07-26_08-11_08-28_09_08   | 2024_07_26-08-11               |
| 2024 08 21-25                  | 2024_08_21-25                  |
| 2024 08 30                     | 2024_08_30                     |
| 2024 09 06-09                  | 2024_09_06-09                  |
| 2024 09 14-15                  | 2024_09_14-15                  |
| 2024 09 21-10-01               | 2024_09_21-10-01               |
| 2024 10 11                     | 2024_10_11                     |
| 2024 10 18-27                  | 2024_10_18-27                  |
| 2024 11 06                     | 2024_11_06                     |
| 2024 09 27                     | 2024_09_27                     |
| 2024 09 28                     | 2024_09_28                     |
+--------------------------------+--------------------------------+
45 rows in set (0,005 sec)

Thanks for your answer.
regards
Phil

Last edited by Phil35 (2024-11-09 22:37:15)


Piwigo 15.3 on production platform with raspberry pi 4 Model B Rev 1.4 (OS 11 (bullseye))

Offline

 

#7 2024-11-12 14:50:16

Linty
Piwigo Team
2023-11-03
14

Re: [resolved] piwigo 15 : the new display of dates for album is at least disturbing

Hello,

It was a small problem when using ‘direction: rtl;’ on numbers in CSS. I've just pushed a fix and it will be available for Piwigo 15.2.0! :D

You can see the github issue here: [Github] Piwigo issue #2275


“An adventure between passion and logic.”

Offline

 

#8 2024-11-12 17:22:43

Phil35
Member
France
2022-10-11
90

Re: [resolved] piwigo 15 : the new display of dates for album is at least disturbing

Hello Linty,

Great.
Thank you for your time, answer, and fix.

15.2: 25% complete [ https://github.com/Piwigo/Piwigo/milestones ]
ok ok, no problem, I will wait with pleasure.

Kind regards
Phil


Piwigo 15.3 on production platform with raspberry pi 4 Model B Rev 1.4 (OS 11 (bullseye))

Offline

 

#9 2024-12-25 17:17:17

Phil35
Member
France
2022-10-11
90

Re: [resolved] piwigo 15 : the new display of dates for album is at least disturbing

Hello,

Piwigo update in 15.3, I jumped from 15.0 to 15.3
Thank you @Linty
It works like a charm now

Phil


Piwigo 15.3 on production platform with raspberry pi 4 Model B Rev 1.4 (OS 11 (bullseye))

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2025 · Contact