Allow customization/localization of 'Last changed: ' text #11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The text
Last changed: 2021-11-05is fine as a default, but could it also be made configurable, so I can localize it for Dutch?A
last-changed-text. Ideally also with a variable position of the date. So you could also change it to a more verboseThis is longer, but does make explicit that the date is per page, and not for the whole website which some users might assume.
It also allows a different place in the text of the date like in some languages/constructions like this German:
This feature request was split out from #10.
Optional: Allow different date formats
A level up of this feature would be an extra
date-formatoption. Which you could set to also include the time, change separator character and/or have a date with for instance "day-month-year" order instead of the default "year-month-day". You could (internally) use the Crono crate to support date formats.Here some examples (usable for unit tests!? 😉 )
"%Y-%m-%d %H:%M"-to/and have date with for instance day-month-year order:"%d//%m%Y""%Y-%m-%d"to make explicit)