Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@wordpress/date

Package Overview
Dependencies
Maintainers
21
Versions
164
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wordpress/date - npm Package Compare versions

Comparing version 4.1.1 to 4.1.2

4

package.json
{
"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>
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc