diff --git a/package.json b/package.json index 25814b0..0e3d61a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "foundryvtt-simple-calendar-reborn", "description": "A simple calendar module for keeping track of game days and events. Forked from the original Simple Calendar by Vigoren.", - "version": "2.5.1", + "version": "2.5.2", "author": "Arctis Fireblight, Dean Vigoren (Vigorator)", "keywords": [ "foundryvtt", diff --git a/src/classes/calendar/index.test.ts b/src/classes/calendar/index.test.ts index 5c218c7..19d6a44 100644 --- a/src/classes/calendar/index.test.ts +++ b/src/classes/calendar/index.test.ts @@ -499,7 +499,8 @@ describe("Calendar Class Tests", () => { const curVisYear = tCal.year.visibleYear; tCal.changeMonth(tCal.months.length + 1); expect(tCal.months[(d.getMonth() + 2) % tCal.months.length].visible).toBe(true); - if (d.getMonth() < 10) + var testMonth = d.getMonth(); + if (d.getMonth() != 10) expect(tCal.year.visibleYear).toBe(curVisYear + 1); else expect(tCal.year.visibleYear).toBe(curVisYear + 2); @@ -508,7 +509,7 @@ describe("Calendar Class Tests", () => { tCal.months[10].visible = true; tCal.changeMonth(-1 * tCal.months.length); expect(tCal.months[10].visible).toBe(true); - if (d.getMonth() < 10) + if (d.getMonth() != 10) expect(tCal.year.visibleYear).toBe(curVisYear); else expect(tCal.year.visibleYear).toBe(curVisYear+1); diff --git a/src/classes/notes/note-sheet.ts b/src/classes/notes/note-sheet.ts index 18d8e34..345302e 100644 --- a/src/classes/notes/note-sheet.ts +++ b/src/classes/notes/note-sheet.ts @@ -126,7 +126,7 @@ export class NoteSheet extends JournalSheet { static get defaultOptions() { const options = super.defaultOptions; - options.template = "modules/foundryvtt-simple-calendar/templates/note-sheet.html"; + options.template = "modules/foundryvtt-simple-calendar-reborn/templates/note-sheet.html"; options.title = "Simple Calendar Note"; options.id = this.appWindowId; options.classes = ["sheet", "journal-sheet", "simple-calendar"]; diff --git a/src/module.json b/src/module.json index 8dd735d..dc9bf62 100644 --- a/src/module.json +++ b/src/module.json @@ -2,7 +2,7 @@ "id": "foundryvtt-simple-calendar-reborn", "title": "Simple Calendar", "description": "A simple calendar module for keeping track of game days and events. Forked from the original Simple Calendar by Vigoren.", - "version": "2.5.1.0", + "version": "2.5.2.0", "authors": [ { "name": "Arctis Fireblight",