studiokit-scaffolding-js 4.3.18 → 4.3.19-next.1.1
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/lib/utils/date.js +1 -1
- package/package.json +4 -2
package/lib/utils/date.js
CHANGED
|
@@ -336,7 +336,7 @@ exports.getFormattedNumberedTimeWithoutZoneOrMeridian = getFormattedNumberedTime
|
|
|
336
336
|
function getFullFormattedTimeZone(timeZoneId, showEasternZoneId, nowUtc) {
|
|
337
337
|
if (timeZoneId === void 0) { timeZoneId = timezone_1.guessTimeZoneId(); }
|
|
338
338
|
if (showEasternZoneId === void 0) { showEasternZoneId = false; }
|
|
339
|
-
if (nowUtc === void 0) { nowUtc =
|
|
339
|
+
if (nowUtc === void 0) { nowUtc = exports.getServerNowUtc().toISOString(); }
|
|
340
340
|
var zone = moment_timezone_1.default.tz.zone(timeZoneId);
|
|
341
341
|
if (!zone)
|
|
342
342
|
return '';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "studiokit-scaffolding-js",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.19-next.1.1",
|
|
4
4
|
"description": "Common scaffolding for Studio apps at Purdue",
|
|
5
5
|
"repository": "https://gitlab.com/purdue-informatics/studiokit/studiokit-scaffolding-js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,7 +24,8 @@
|
|
|
24
24
|
"lint:styles": "stylelint \"src/**/*.css\"",
|
|
25
25
|
"prepublishOnly": "yarn build",
|
|
26
26
|
"test": "jest",
|
|
27
|
-
"test:ci": "cross-env CI=true yarn test"
|
|
27
|
+
"test:ci": "cross-env CI=true yarn test",
|
|
28
|
+
"test:ci-junit": "cross-env CI=true npm run test -- --reporters='default' --reporters='jest-junit'"
|
|
28
29
|
},
|
|
29
30
|
"husky": {
|
|
30
31
|
"hooks": {
|
|
@@ -172,6 +173,7 @@
|
|
|
172
173
|
"identity-obj-proxy": "^3.0.0",
|
|
173
174
|
"jest": "^26.6.0",
|
|
174
175
|
"jest-each": "^26.6.0",
|
|
176
|
+
"jest-junit": "^12.0.0",
|
|
175
177
|
"lint-staged": "^10.5.3",
|
|
176
178
|
"mockdate": "^3.0.2",
|
|
177
179
|
"npm-run-all": "^4.1.5",
|