@nxtedition/lib 23.3.27 → 23.3.28

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/lib",
3
- "version": "23.3.27",
3
+ "version": "23.3.28",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "type": "module",
@@ -158,6 +158,7 @@ export default function ({ ds, logger } = {}) {
158
158
  moment: (format, tz) => {
159
159
  // TODO (fix): Validate arguments...
160
160
  return (value) => {
161
+ value = moment(value)
161
162
  if (tz) {
162
163
  value = value.tz(tz)
163
164
  }