mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 14:03:30 +00:00 
			
		
		
		
	zjsunit: Use assert in strict mode.
This makes assert.equal and assert.deepEqual compare using === rather than ==, to catch more bugs. https://nodejs.org/api/assert.html#assert_strict_mode Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
		@@ -82,7 +82,7 @@ exports.last_seen_status_from_date = function (last_active_date, current_date) {
 | 
			
		||||
 | 
			
		||||
    const days = Math.floor(hours / 24);
 | 
			
		||||
    if (days === 1) {
 | 
			
		||||
        return [i18n.t("Yesterday")];
 | 
			
		||||
        return i18n.t("Yesterday");
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if (days < 90) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user