Skip to content

Commit

Permalink
Correct name of date_i18n() PHP function. (#15204)
Browse files Browse the repository at this point in the history
  • Loading branch information
iandunn authored and gziolo committed Apr 29, 2019
1 parent 8c28814 commit 64c48fd
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 64c48fd

Please sign in to comment.