@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/hooks/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../chunk-
|
|
1
|
+
import "../chunk-4NULTN5V.mjs";
|
|
2
2
|
import "../chunk-RQDZX76B.mjs";
|
|
3
3
|
import "../chunk-DWO35OY4.mjs";
|
|
4
4
|
import "../chunk-I7WE3EBR.mjs";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
dateFormat,
|
|
15
15
|
normalizeUrl,
|
|
16
16
|
timeFormat
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-G5GKLIPZ.mjs";
|
|
18
18
|
import {
|
|
19
19
|
EnumEventDateStatus,
|
|
20
20
|
EnumEventType,
|
package/dist/index.cjs
CHANGED
|
@@ -862,7 +862,7 @@ function nzStartOfDay(input) {
|
|
|
862
862
|
if (input == null) {
|
|
863
863
|
return (0, import_dayjs.default)().tz(NZ_TZ).startOf("day");
|
|
864
864
|
}
|
|
865
|
-
return
|
|
865
|
+
return import_dayjs.default.tz(input, NZ_TZ).startOf("day");
|
|
866
866
|
}
|
|
867
867
|
var formatDate = (dateStr, display = "datetime", timeStr) => {
|
|
868
868
|
const dateTimeStr = timeStr ? `${dateStr} ${timeStr}` : dateStr;
|
|
@@ -989,6 +989,14 @@ function computeDailyClueState(dailyClue) {
|
|
|
989
989
|
todaysPlacement: null
|
|
990
990
|
};
|
|
991
991
|
}
|
|
992
|
+
console.log("DEBUG", {
|
|
993
|
+
end: end.format(),
|
|
994
|
+
index,
|
|
995
|
+
letterToday: shuffled[index],
|
|
996
|
+
shuffledLength: shuffled.length,
|
|
997
|
+
start: start.format(),
|
|
998
|
+
today: today.format()
|
|
999
|
+
});
|
|
992
1000
|
return {
|
|
993
1001
|
gameHistory: null,
|
|
994
1002
|
todaysClue: shuffledPlacements[index].clue,
|