mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 15:33:30 +00:00
eslint: Enable @typescript-eslint/recommended plugin.
This is not automatically enabled by @typescript-eslint/recommended-requiring-type-checking for some reason. https://typescript-eslint.io/linting/configs/#recommended Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
96e657a954
commit
3109ee8015
@@ -367,7 +367,7 @@ export function stringify_time(time: number | Date): string {
|
||||
return get_localized_date_or_time_for_format(time, "time");
|
||||
}
|
||||
|
||||
export function format_time_modern(time: number | Date, today = new Date()): String {
|
||||
export function format_time_modern(time: number | Date, today = new Date()): string {
|
||||
const hours = differenceInHours(today, time);
|
||||
const days_old = differenceInCalendarDays(today, time);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user