@wordpress/date 4.29.0 → 4.31.0
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 +4 -0
- package/README.md +2 -4
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -39,8 +39,7 @@ _Returns_
|
|
|
39
39
|
|
|
40
40
|
Formats a date (like `wp_date()` in PHP), translating it into site's locale.
|
|
41
41
|
|
|
42
|
-
Backward Compatibility Notice: if `timezone` is set to `true`, the function
|
|
43
|
-
behaves like `gmdateI18n`.
|
|
42
|
+
Backward Compatibility Notice: if `timezone` is set to `true`, the function behaves like `gmdateI18n`.
|
|
44
43
|
|
|
45
44
|
_Related_
|
|
46
45
|
|
|
@@ -105,8 +104,7 @@ _Returns_
|
|
|
105
104
|
|
|
106
105
|
### gmdateI18n
|
|
107
106
|
|
|
108
|
-
Formats a date (like `wp_date()` in PHP), translating it into site's locale
|
|
109
|
-
and using the UTC timezone.
|
|
107
|
+
Formats a date (like `wp_date()` in PHP), translating it into site's locale and using the UTC timezone.
|
|
110
108
|
|
|
111
109
|
_Parameters_
|
|
112
110
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/date",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.31.0",
|
|
4
4
|
"description": "Date module for WordPress.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"types": "build-types",
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@babel/runtime": "^7.16.0",
|
|
30
|
-
"@wordpress/deprecated": "^3.
|
|
30
|
+
"@wordpress/deprecated": "^3.31.0",
|
|
31
31
|
"moment": "^2.29.4",
|
|
32
32
|
"moment-timezone": "^0.5.40"
|
|
33
33
|
},
|
|
34
34
|
"publishConfig": {
|
|
35
35
|
"access": "public"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "d61700b9f1c72ba0b030fc815ef1685b4f4031ec"
|
|
38
38
|
}
|