mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: Add year to relative time picker (#12268)
Add a new year interval option to relative time picker, and also fix some rounding issues (Math.floor is not ideal because it gets rid of half days etc.) Also adding some component tests here for relative-time-picker.
This commit is contained in:
@@ -588,6 +588,9 @@ en:
|
||||
months:
|
||||
one: "month"
|
||||
other: "months"
|
||||
years:
|
||||
one: "year"
|
||||
other: "years"
|
||||
|
||||
time_shortcut:
|
||||
later_today: "Later today"
|
||||
|
||||
Reference in New Issue
Block a user