@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 CHANGED
@@ -1,5 +1,5 @@
1
1
  /* * */
2
- import { Formats, OPERATIONAL_DATE_FORMAT } from './format.js';
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 Formats; }
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 Formats: {
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
@@ -81,7 +81,7 @@ const DATETIME_FULL_WITH_SECONDS = {
81
81
  year: n,
82
82
  };
83
83
  export const OPERATIONAL_DATE_FORMAT = 'yyyyMMdd';
84
- export const Formats = {
84
+ export const FORMATS = {
85
85
  DATE_FULL,
86
86
  DATE_FULL_WITH_YEAR,
87
87
  DATE_HUGE,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/dates",
3
- "version": "20260226.1419.7",
3
+ "version": "20260302.1416.42",
4
4
  "author": {
5
5
  "email": "iso@tmlmobilidade.pt",
6
6
  "name": "TML-ISO"