aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/javascript/reference/global_objects/intl
diff options
context:
space:
mode:
Diffstat (limited to 'files/ru/web/javascript/reference/global_objects/intl')
-rw-r--r--files/ru/web/javascript/reference/global_objects/intl/datetimeformat/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/ru/web/javascript/reference/global_objects/intl/datetimeformat/index.html b/files/ru/web/javascript/reference/global_objects/intl/datetimeformat/index.html
index a9f3287a7c..140c98fdea 100644
--- a/files/ru/web/javascript/reference/global_objects/intl/datetimeformat/index.html
+++ b/files/ru/web/javascript/reference/global_objects/intl/datetimeformat/index.html
@@ -139,7 +139,7 @@ console.log(new Intl.DateTimeFormat().format(date));
// Форматирование ниже предполагает, что местный часовой пояс равен
// America/Los_Angeles для локали США
-// В америкаском английском используется порядок месяц-день-год
+// В американском английском используется порядок месяц-день-год
console.log(new Intl.DateTimeFormat('en-US').format(date));
// → "12/19/2012"
@@ -156,7 +156,7 @@ console.log(new Intl.DateTimeFormat('ar-EG').format(date));
// → "<span dir="rtl">٢٠‏/١٢‏/٢٠١٢</span>"
// В Японии приложения могут захотеть использовать японский календарь,
-// в котором 2012 год являеся 24-м годом эры Хейсей
+// в котором 2012 год является 24-м годом эры Хейсей
console.log(new Intl.DateTimeFormat('ja-JP-u-ca-japanese').format(date));
// → "24/12/20"