@timardex/cluemart-shared 1.5.506 → 1.5.508
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-K4J6EBAJ.mjs → chunk-4NULTN5V.mjs} +2 -2
- package/dist/{chunk-4H2QFRNE.mjs → chunk-G5GKLIPZ.mjs} +10 -2
- package/dist/chunk-G5GKLIPZ.mjs.map +1 -0
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +2 -2
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +2 -2
- package/dist/index.cjs +9 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +9 -1
- package/dist/index.mjs.map +1 -1
- package/dist/utils/index.cjs +9 -1
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-4H2QFRNE.mjs.map +0 -1
- /package/dist/{chunk-K4J6EBAJ.mjs.map → chunk-4NULTN5V.mjs.map} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -565,7 +565,7 @@ function nzStartOfDay(input) {
|
|
|
565
565
|
if (input == null) {
|
|
566
566
|
return dayjs().tz(NZ_TZ).startOf("day");
|
|
567
567
|
}
|
|
568
|
-
return dayjs
|
|
568
|
+
return dayjs.tz(input, NZ_TZ).startOf("day");
|
|
569
569
|
}
|
|
570
570
|
var formatDate = (dateStr, display = "datetime", timeStr) => {
|
|
571
571
|
const dateTimeStr = timeStr ? `${dateStr} ${timeStr}` : dateStr;
|
|
@@ -692,6 +692,14 @@ function computeDailyClueState(dailyClue) {
|
|
|
692
692
|
todaysPlacement: null
|
|
693
693
|
};
|
|
694
694
|
}
|
|
695
|
+
console.log("DEBUG", {
|
|
696
|
+
end: end.format(),
|
|
697
|
+
index,
|
|
698
|
+
letterToday: shuffled[index],
|
|
699
|
+
shuffledLength: shuffled.length,
|
|
700
|
+
start: start.format(),
|
|
701
|
+
today: today.format()
|
|
702
|
+
});
|
|
695
703
|
return {
|
|
696
704
|
gameHistory: null,
|
|
697
705
|
todaysClue: shuffledPlacements[index].clue,
|