New Date Format #12
Loading…
x
Reference in New Issue
Block a user
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 current date format rules are:
if date within last 24 hours: 14:59
if date over 24 hours ago: 14:59, 18th Jan 2024
This is terrible because it's too long, sometimes the (edited) tag is added to the string too, making it longer.
New Rules
Apply these new rules instead.
if datetime is less than 1 hour: 45 mins ago
if datetime is less than 24 hours: 3 hours ago
if datetime is less than week ago: 14:59 Thu
if datetime is over a week ago: 18/01/2024
These new rules will keep it concise and readable.
Solved with Ticket.string_datetime.