@tmlmobilidade/dates 20260226.1419.7 → 20260302.1416.42
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/dates.js +2 -2
- package/dist/format.d.ts +1 -1
- package/dist/format.js +1 -1
- package/package.json +1 -1
package/dist/dates.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* * */
|
|
2
|
-
import {
|
|
2
|
+
import { FORMATS, OPERATIONAL_DATE_FORMAT } from './format.js';
|
|
3
3
|
import { timezoneList, timezoneListSchema } from './types.js';
|
|
4
4
|
import { DateTime } from 'luxon';
|
|
5
5
|
/* * */
|
|
@@ -8,7 +8,7 @@ export class Dates {
|
|
|
8
8
|
//
|
|
9
9
|
// Static properties
|
|
10
10
|
static STANDARD_WINDOW_HOURS = 10;
|
|
11
|
-
static get FORMATS() { return
|
|
11
|
+
static get FORMATS() { return FORMATS; }
|
|
12
12
|
static get TIMEZONE_LIST() { return timezoneList; }
|
|
13
13
|
static get TIMEZONE_LIST_VALUES() { return timezoneListSchema.Values; }
|
|
14
14
|
//
|
package/dist/format.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export interface DatesFormat {
|
|
|
9
9
|
year?: '2-digit' | 'numeric';
|
|
10
10
|
}
|
|
11
11
|
export declare const OPERATIONAL_DATE_FORMAT = "yyyyMMdd";
|
|
12
|
-
export declare const
|
|
12
|
+
export declare const FORMATS: {
|
|
13
13
|
DATE_FULL: DatesFormat;
|
|
14
14
|
DATE_FULL_WITH_YEAR: DatesFormat;
|
|
15
15
|
DATE_HUGE: DatesFormat;
|
package/dist/format.js
CHANGED