@wordpress/date
Advanced tools
Comparing version 4.1.1 to 4.1.2
{ | ||
"name": "@wordpress/date", | ||
"version": "4.1.1", | ||
"version": "4.1.2", | ||
"description": "Date module for WordPress.", | ||
@@ -36,3 +36,3 @@ "author": "The WordPress Contributors", | ||
}, | ||
"gitHead": "954d6776be2ee80b5975e4ced6a3d481d8a89354" | ||
"gitHead": "c6e7eca347923b56c0117f8129f80eba6ac59f52" | ||
} |
@@ -19,3 +19,3 @@ # Date | ||
<a name="date" href="#date">#</a> **date** | ||
### date | ||
@@ -39,3 +39,3 @@ Formats a date (like `date()` in PHP). | ||
<a name="dateI18n" href="#dateI18n">#</a> **dateI18n** | ||
### dateI18n | ||
@@ -62,3 +62,3 @@ Formats a date (like `wp_date()` in PHP), translating it into site's locale. | ||
<a name="format" href="#format">#</a> **format** | ||
### format | ||
@@ -76,3 +76,3 @@ Formats a date. Does not alter the date's timezone. | ||
<a name="getDate" href="#getDate">#</a> **getDate** | ||
### getDate | ||
@@ -89,3 +89,3 @@ Create and return a JavaScript Date Object from a date string in the WP timezone. | ||
<a name="gmdate" href="#gmdate">#</a> **gmdate** | ||
### gmdate | ||
@@ -103,3 +103,3 @@ Formats a date (like `date()` in PHP), in the UTC timezone. | ||
<a name="gmdateI18n" href="#gmdateI18n">#</a> **gmdateI18n** | ||
### gmdateI18n | ||
@@ -118,3 +118,3 @@ Formats a date (like `wp_date()` in PHP), translating it into site's locale | ||
<a name="isInTheFuture" href="#isInTheFuture">#</a> **isInTheFuture** | ||
### isInTheFuture | ||
@@ -131,3 +131,3 @@ Check whether a date is considered in the future according to the WordPress settings. | ||
<a name="setSettings" href="#setSettings">#</a> **setSettings** | ||
### setSettings | ||
@@ -140,5 +140,4 @@ Adds a locale to moment, using the format supplied by `wp_localize_script()`. | ||
<!-- END TOKEN(Autogenerated API docs) --> | ||
<br/><br/><p align="center"><img src="https://s.w.org/style/images/codeispoetry.png?1" alt="Code is Poetry." /></p> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
185603
135
1