This commit is contained in:
Bruno Windels 2022-11-25 16:13:31 +01:00
parent c4e239a401
commit 2136b051a0

View File

@ -55,9 +55,6 @@ export class SimpleTile extends ViewModel {
this._needsDateSeparator = prev._date.getFullYear() !== this._date.getFullYear() || this._needsDateSeparator = prev._date.getFullYear() !== this._date.getFullYear() ||
prev._date.getMonth() !== this._date.getMonth() || prev._date.getMonth() !== this._date.getMonth() ||
prev._date.getDate() !== this._date.getDate(); prev._date.getDate() !== this._date.getDate();
if (neededDateSeparator && !this._needsDateSeparator) {
console.log("clearing needsDateSeparator", {this: this._entry.content, prev: prev.content});
}
} else { } else {
this._needsDateSeparator = !!this._date; this._needsDateSeparator = !!this._date;
} }