Merge pull request #709 from pmelanson/705-read-marker-update-after-date-change
semicolons :'( :'( :'( fixes failing build
This commit is contained in:
commit
2eed850faa
|
@ -29,7 +29,7 @@ weechat.factory('handlers', ['$rootScope', '$log', 'models', 'plugins', 'notific
|
||||||
new_date.setHours(0, 0, 0, 0);
|
new_date.setHours(0, 0, 0, 0);
|
||||||
// Check if the date changed
|
// Check if the date changed
|
||||||
if (old_date.valueOf() !== new_date.valueOf()) {
|
if (old_date.valueOf() !== new_date.valueOf()) {
|
||||||
++buffer.lastSeen
|
++buffer.lastSeen;
|
||||||
var old_date_plus_one = old_date;
|
var old_date_plus_one = old_date;
|
||||||
old_date_plus_one.setDate(old_date.getDate() + 1);
|
old_date_plus_one.setDate(old_date.getDate() + 1);
|
||||||
// it's not always true that a date with time 00:00:00
|
// it's not always true that a date with time 00:00:00
|
||||||
|
|
Loading…
Reference in New Issue