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
We could map the former formats and translate to the desired format, strftime ones are always prefixed by % and are one character BUT carbon ISO have no prefix and have a variable length making it hard to distinguish text from parameter, so we may introduce some "meta-symbols" to tag them, eg.today is *dd*.xls) and skip this "translator" when *anything* are found or do it once via a migration(?).
Alternatively, creating a new config for existing config fields and deprecate the current one, and use the new one when is set.
Another input would be introducing something more custom (instead of *dd* to *MIN_DAY_NAME_T* or *MDNT*) and properly documented, that we can limit and have more control on, because we actually don't/shouldn't support every date format parameter, eg. strftime('today is %D.xls', time()); results in a date with forward slashes (which is forbidden for filenames) as m/d/Y.
Improvement description
src: https://www.php.net/manual/en/function.strftime.php
Needs to deprecate and replace the format parameters, they are not interchangeable with the replacement, for example %a cannot be just a
see also #14431 (comment)
The text was updated successfully, but these errors were encountered: