telepathyClient: Fix JS warning triggered by undeclared variable
https://bugzilla.gnome.org/show_bug.cgi?id=646205
This commit is contained in:
parent
73ac98b193
commit
57a332bb08
@ -473,6 +473,8 @@ Notification.prototype = {
|
|||||||
|
|
||||||
var daysAgo = (now.getTime() - date.getTime()) / (24 * 60 * 60 * 1000);
|
var daysAgo = (now.getTime() - date.getTime()) / (24 * 60 * 60 * 1000);
|
||||||
|
|
||||||
|
let format;
|
||||||
|
|
||||||
// Show a week day and time if date is in the last week
|
// Show a week day and time if date is in the last week
|
||||||
if (daysAgo < 1 || (daysAgo < 7 && now.getDay() != date.getDay())) {
|
if (daysAgo < 1 || (daysAgo < 7 && now.getDay() != date.getDay())) {
|
||||||
/* Translators: this is a time format string followed by a date.
|
/* Translators: this is a time format string followed by a date.
|
||||||
|
Loading…
Reference in New Issue
Block a user