Skip to content

Commit

Permalink
Correct name of date_i18n() PHP function.
Browse files Browse the repository at this point in the history
  • Loading branch information
iandunn committed Apr 26, 2019
1 parent 0c146bc commit a9802c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/date/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ _Returns_

<a name="dateI18n" href="#dateI18n">#</a> **dateI18n**

Formats a date (like `dateI18n()` in PHP).
Formats a date (like `date_i18n()` in PHP).

_Parameters_

Expand Down
2 changes: 1 addition & 1 deletion packages/date/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ export function gmdate( dateFormat, dateValue = new Date() ) {
}

/**
* Formats a date (like `dateI18n()` in PHP).
* Formats a date (like `date_i18n()` in PHP).
*
* @param {string} dateFormat PHP-style formatting string.
* See php.net/date.
Expand Down

0 comments on commit a9802c0

Please sign in to comment.