From a9802c00b5b931db71375b9351113ba8ab559cfd Mon Sep 17 00:00:00 2001 From: Ian Dunn Date: Thu, 25 Apr 2019 18:21:48 -0700 Subject: [PATCH] Correct name of `date_i18n()` PHP function. --- packages/date/README.md | 2 +- packages/date/src/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/date/README.md b/packages/date/README.md index 5c30a6f4ee532..c4bad6ef1636e 100644 --- a/packages/date/README.md +++ b/packages/date/README.md @@ -31,7 +31,7 @@ _Returns_ # **dateI18n** -Formats a date (like `dateI18n()` in PHP). +Formats a date (like `date_i18n()` in PHP). _Parameters_ diff --git a/packages/date/src/index.js b/packages/date/src/index.js index 24eb69434fd2e..26501b394200b 100644 --- a/packages/date/src/index.js +++ b/packages/date/src/index.js @@ -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.