@servicetitan/datetime-utils 21.7.1 → 22.0.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/CHANGELOG.md +82 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# v22.0.1 (Tue Jun 21 2022)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- FAR-823: Migrating uikit components [#106](https://github.com/servicetitan/anvil-uikit-contrib/pull/106) ([@rgdelato](https://github.com/rgdelato) github-actions@github.com)
|
|
6
|
+
|
|
7
|
+
#### Authors: 2
|
|
8
|
+
|
|
9
|
+
- github-actions (github-actions@github.com)
|
|
10
|
+
- Ryan De La Torre ([@rgdelato](https://github.com/rgdelato))
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# v20.0.0 (Thu Jan 13 2022)
|
|
15
|
+
|
|
16
|
+
#### 💥 Breaking Change
|
|
17
|
+
|
|
18
|
+
- Startup: chunking support for the web components [#1184](https://github.com/servicetitan/uikit/pull/1184) ([@xarety](https://github.com/xarety))
|
|
19
|
+
|
|
20
|
+
#### Authors: 1
|
|
21
|
+
|
|
22
|
+
- Denis Gordeev ([@xarety](https://github.com/xarety))
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
# v17.3.1 (Wed Nov 03 2021)
|
|
27
|
+
|
|
28
|
+
#### 🔩 Dependency Updates
|
|
29
|
+
|
|
30
|
+
- Bump dependencies [#1062](https://github.com/servicetitan/uikit/pull/1062) ([@xarety](https://github.com/xarety))
|
|
31
|
+
|
|
32
|
+
#### Authors: 1
|
|
33
|
+
|
|
34
|
+
- Denis Gordeev ([@xarety](https://github.com/xarety))
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
# v17.0.0 (Thu Sep 30 2021)
|
|
39
|
+
|
|
40
|
+
#### 🚀 Enhancement
|
|
41
|
+
|
|
42
|
+
- DateTimeUtils: add formatDateShort, formatDateTimeShortest and some tests [#932](https://github.com/servicetitan/uikit/pull/932) ([@aschumahua](https://github.com/aschumahua))
|
|
43
|
+
|
|
44
|
+
#### 🔩 Dependency Updates
|
|
45
|
+
|
|
46
|
+
- Bump @typescript-eslint/parser from 4.31.1 to 4.32.0 [#917](https://github.com/servicetitan/uikit/pull/917) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
47
|
+
- Bump jest from 27.2.0 to 27.2.4 [#931](https://github.com/servicetitan/uikit/pull/931) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
48
|
+
|
|
49
|
+
#### Authors: 2
|
|
50
|
+
|
|
51
|
+
- [@dependabot[bot]](https://github.com/dependabot[bot])
|
|
52
|
+
- Anzar Schumahua ([@aschumahua](https://github.com/aschumahua))
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
# v14.2.0 (Fri Aug 06 2021)
|
|
57
|
+
|
|
58
|
+
#### 🐛 Bug Fix
|
|
59
|
+
|
|
60
|
+
- Stylelint config: disable no-invalid-position-at-import-rule [#732](https://github.com/servicetitan/uikit/pull/732) ([@kanoshin](https://github.com/kanoshin))
|
|
61
|
+
|
|
62
|
+
#### Authors: 1
|
|
63
|
+
|
|
64
|
+
- Kirill Anoshin ([@kanoshin](https://github.com/kanoshin))
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
# v12.4.0 (Tue Jun 08 2021)
|
|
69
|
+
|
|
70
|
+
#### 🐛 Bug Fix
|
|
71
|
+
|
|
72
|
+
- Form: added phone number with extensions format info to culture store interface [#530](https://github.com/servicetitan/uikit/pull/530) ([@da1z](https://github.com/da1z))
|
|
73
|
+
|
|
74
|
+
#### ⚠️ Pushed to `master`
|
|
75
|
+
|
|
76
|
+
- Undo fail publish consequences ([@xarety](https://github.com/xarety))
|
|
77
|
+
- Publish ([@xarety](https://github.com/xarety))
|
|
78
|
+
|
|
79
|
+
#### Authors: 2
|
|
80
|
+
|
|
81
|
+
- Denis Gordeev ([@xarety](https://github.com/xarety))
|
|
82
|
+
- Kiryl Chetyrbak ([@da1z](https://github.com/da1z))
|
package/dist/index.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export declare class DateTimeUtils {
|
|
|
23
23
|
* day: 'numeric'
|
|
24
24
|
* }); // Tuesday, December 3
|
|
25
25
|
*/
|
|
26
|
-
format: (date: Date, options?: Intl.DateTimeFormatOptions) => string;
|
|
26
|
+
format: (date: Date, options?: Intl.DateTimeFormatOptions | undefined) => string;
|
|
27
27
|
/**
|
|
28
28
|
* Equals moment format: 'M/D/YY'
|
|
29
29
|
* Returns: 1/2/20
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAiB,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAsB/D,qBACa,aAAa;IACtB,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,aAAa,CAAsB;IAC3C,OAAO,CAAC,iBAAiB,CAAsB;IAC/C,OAAO,CAAC,kBAAkB,CAAsB;IAChD,OAAO,CAAC,iBAAiB,CAAsB;IAC/C,OAAO,CAAC,qBAAqB,CAAsB;IACnD,OAAO,CAAC,mBAAmB,CAAsB;IACjD,OAAO,CAAC,uBAAuB,CAAsB;IACrD,OAAO,CAAC,kBAAkB,CAAsB;IAChD,OAAO,CAAC,sBAAsB,CAAsB;IACpD,OAAO,CAAC,wBAAwB,CAAsB;IACtD,OAAO,CAAC,yBAAyB,CAAsB;gBAEpB,OAAO,EAAE,OAAO;IA8CnD;;;;;;;;;OASG;IACH,MAAM,SAAU,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"A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U,IAAI,KAAG,MAAM,CAErC;IAEF;;;OAGG;IACH,eAAe,SAAU,IAAI,KAAG,MAAM,CAEpC;IAEF;;;OAGG;IACH,mBAAmB,SAAU,IAAI,KAAG,MAAM,CAExC;IAEF;;;OAGG;IACH,2BAA2B,SAAU,IAAI,KAAG,MAAM,CAGhD;IAEF;;;OAGG;IACH,oBAAoB,SAAU,IAAI,KAAG,MAAM,CAEzC;IAEF,SAAS,QAAO,MAAM,CAEpB;CACL"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@servicetitan/datetime-utils",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "22.0.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"homepage": "https://docs.st.dev/docs/frontend/date-time-formatting",
|
|
6
6
|
"repository": {
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
"src"
|
|
17
17
|
],
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@servicetitan/culture": "^
|
|
20
|
-
"@servicetitan/react-ioc": "^21.
|
|
19
|
+
"@servicetitan/culture": "^22.0.1",
|
|
20
|
+
"@servicetitan/react-ioc": "^21.6.0"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@servicetitan/culture": "^
|
|
23
|
+
"@servicetitan/culture": "^22.0.1",
|
|
24
24
|
"@servicetitan/react-ioc": "^20.0.0"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"cli": {
|
|
30
30
|
"webpack": false
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "5a794e76923adfb628afae790a01be04cd89d918"
|
|
33
33
|
}
|