naturaltime documentation is misleading
|Reported by:||Jaap Roes||Owned by:||antoviaque|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Currently documentation says the following:
"[...] falling back to a longer date format if the value is more than a day old."
In fact it won't ever do a date format, instead it will falls back to whatever
timeuntil does (1 day ago, 1 year and 2 months ago etc.)
To me it seems more consistent that it would work like
naturalday and fall back to
'DATETIME_FORMAT', with the option to pass in a custom format string.
Change History (9)
comment:1 Changed 6 years ago by
|Component:||contrib.humanize → Documentation|
|Triage Stage:||Unreviewed → Accepted|