mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
eslint: Fix unicorn/prefer-date-now.
https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v24.0.0/docs/rules/prefer-date-now.md Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
2f80415756
commit
dd8e14d3e6
@@ -4,7 +4,7 @@ const render_muted_topic_ui_row = require("../templates/muted_topic_ui_row.hbs")
|
||||
const render_topic_muted = require("../templates/topic_muted.hbs");
|
||||
|
||||
function timestamp_ms() {
|
||||
return new Date().getTime();
|
||||
return Date.now();
|
||||
}
|
||||
|
||||
let last_topic_update = 0;
|
||||
|
||||
Reference in New Issue
Block a user