mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
fix test
This commit is contained in:
committed by
Sabe Jones
parent
fb56f7df20
commit
a50c0eb1e7
@@ -20,7 +20,7 @@ export function getCurrentEvent () {
|
||||
const now = moment();
|
||||
const currEvtKey = Object.keys(common.content.repeatingEvents).find(
|
||||
evtKey => {
|
||||
const event = common.content.repeatingEventsS[evtKey];
|
||||
const event = common.content.repeatingEvents[evtKey];
|
||||
const startDate = event.start.replace('1970', now.year());
|
||||
const endDate = event.end.replace('1970', now.year());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user