You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since I setup my HTMLy instance I used to have a custom date format, because I like to also display the time of a post.
Until HTMLy version 2.8.2 I could use a date format of "%A, %e. %B %Y, %H:%M Uhr". Since version 2.8.3 I had to switch to "EEEE, d. F Y, H:i 'Uhr'", because of the use of PHP-INTL.
My issue now is, days 1-9 are shown with a leading zero, because of the mangling in format_date(), i.e., "d" becomes "dd" automatically.
What I would like to see, is either a new custom date format config item, to which no format mangling is applied then. Or the removal of the format mangling at all.
The d in PHP date() displaying date from 01-31, equivalent to dd in ICU and j to d (w/o leading zero). We need to complete the format_map to get full conversion.
In the mean while you can add those manually, add 'j' => 'd' and in config.ini EEEE, j. F Y, H:i
Since I setup my HTMLy instance I used to have a custom date format, because I like to also display the time of a post.
Until HTMLy version 2.8.2 I could use a date format of
"%A, %e. %B %Y, %H:%M Uhr"
. Since version 2.8.3 I had to switch to"EEEE, d. F Y, H:i 'Uhr'"
, because of the use of PHP-INTL.My issue now is, days 1-9 are shown with a leading zero, because of the mangling in
format_date()
, i.e., "d" becomes "dd" automatically.What I would like to see, is either a new custom date format config item, to which no format mangling is applied then. Or the removal of the format mangling at all.
References:
The text was updated successfully, but these errors were encountered: