@tstdl/base 0.92.113 → 0.92.114
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 +2 -2
- package/utils/date-time.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tstdl/base",
|
|
3
|
-
"version": "0.92.
|
|
3
|
+
"version": "0.92.114",
|
|
4
4
|
"author": "Patrick Hein",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
"@types/node": "22",
|
|
152
152
|
"@types/nodemailer": "6.4",
|
|
153
153
|
"@types/pg": "8.11",
|
|
154
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
154
|
+
"@typescript-eslint/eslint-plugin": "8.28",
|
|
155
155
|
"concurrently": "9.1",
|
|
156
156
|
"drizzle-kit": "0.30",
|
|
157
157
|
"eslint": "9.23",
|
package/utils/date-time.js
CHANGED
|
@@ -99,7 +99,7 @@ export function dateTimeToNumericDate(dateTime) {
|
|
|
99
99
|
return timestampToNumericDate(timestamp);
|
|
100
100
|
}
|
|
101
101
|
export function numericDateToDateTime(numericDate, units, options) {
|
|
102
|
-
const date =
|
|
102
|
+
const date = numericDateToDateObject(numericDate);
|
|
103
103
|
return DateTime.fromObject({ ...date, ...units }, options);
|
|
104
104
|
}
|
|
105
105
|
export function dateTimeToTime(dateTime) {
|