Upcoming events plugin sometimes ignores direct format string instruction
- Status
- Open
- Subject
- Upcoming events plugin sometimes ignores direct format string instruction
- Version
- 18.x
- Category
- Consistency
- Feature
- Calendar
- Resolution status
- New
- Submitted by
- hman
- Lastmod by
- hman
- Rating
- Description
Calendar output (through the 'upcoming events' plugin) uses two differing formats for date output, ignoring the pref:
- Events spanning a whole day are output numerical, example: "03.02.2022".
- Events with beginning and ending at specific times are reported with weekday, but without year . Example: "Montag, 07. 02". Note the missing full stop after the month!
So factually dates are output (whole day) formatted as (strftime())Copy to clipboard"%d.%m.%Y"and with specific times formatted as (strftime())
Copy to clipboard"%A, %d. %m"
The pref (long date format) is set toCopy to clipboard"%A, %e. %B %Y"The pref (short date format) is set to
Copy to clipboard"%Y-%m-%d"(the Japanese format, which has the beauty of automatically sorting alphabetically in correct order, because the most significant digit is on the far left).
So the output is both inconsistent AND violates the setting in the pref...
strftime() constants:
https://www.geeksforgeeks.org/php-strftime-function/- Importance
- 5
- Easy to solve?
- 5
- Priority
- 25
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 8059
- Created
- Thursday 03 February, 2022 09:51:24 UTC
by hman - LastModif
- Thursday 03 February, 2022 10:34:09 UTC