aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/javascript/reference/global_objects/date
diff options
context:
space:
mode:
Diffstat (limited to 'files/ru/web/javascript/reference/global_objects/date')
-rw-r--r--files/ru/web/javascript/reference/global_objects/date/tolocaledatestring/index.html4
-rw-r--r--files/ru/web/javascript/reference/global_objects/date/tolocalestring/index.html2
-rw-r--r--files/ru/web/javascript/reference/global_objects/date/tolocaletimestring/index.html2
3 files changed, 4 insertions, 4 deletions
diff --git a/files/ru/web/javascript/reference/global_objects/date/tolocaledatestring/index.html b/files/ru/web/javascript/reference/global_objects/date/tolocaledatestring/index.html
index d54cc5cbce..dff98cd165 100644
--- a/files/ru/web/javascript/reference/global_objects/date/tolocaledatestring/index.html
+++ b/files/ru/web/javascript/reference/global_objects/date/tolocaledatestring/index.html
@@ -65,7 +65,7 @@ console.log(date.toLocaleDateString());
// Форматирование ниже предполагает, что местный часовой пояс равен
// America/Los_Angeles для локали США
-// В америкаском английском используется порядок месяц-день-год
+// В американском английском используется порядок месяц-день-год
console.log(date.toLocaleDateString('en-US'));
// → "12/19/2012"
@@ -82,7 +82,7 @@ console.log(date.toLocaleDateString('ar-EG'));
// → "<span dir="rtl">٢٠‏/١٢‏/٢٠١٢</span>"
// В Японии приложения могут захотеть использовать японский календарь,
-// в котором 2012 год являеся 24-м годом эры Хейсей
+// в котором 2012 год является 24-м годом эры Хейсей
console.log(date.toLocaleDateString('ja-JP-u-ca-japanese'));
// → "24/12/20"
diff --git a/files/ru/web/javascript/reference/global_objects/date/tolocalestring/index.html b/files/ru/web/javascript/reference/global_objects/date/tolocalestring/index.html
index f9f0ffa8a1..a7b9d12391 100644
--- a/files/ru/web/javascript/reference/global_objects/date/tolocalestring/index.html
+++ b/files/ru/web/javascript/reference/global_objects/date/tolocalestring/index.html
@@ -85,7 +85,7 @@ console.log(date.toLocaleString('ar-EG'));
// → "<span dir="rtl">٢٠‏/١٢‏/٢٠١٢ ٥:٠٠:٠٠ ص</span>"
// В Японии приложения могут захотеть использовать японский календарь,
-// в котором 2012 год являеся 24-м годом эры Хейсей
+// в котором 2012 год является 24-м годом эры Хейсей
console.log(date.toLocaleString('ja-JP-u-ca-japanese'));
// → "24/12/20 12:00:00"
diff --git a/files/ru/web/javascript/reference/global_objects/date/tolocaletimestring/index.html b/files/ru/web/javascript/reference/global_objects/date/tolocaletimestring/index.html
index 10a1e449ef..622f3c83b4 100644
--- a/files/ru/web/javascript/reference/global_objects/date/tolocaletimestring/index.html
+++ b/files/ru/web/javascript/reference/global_objects/date/tolocaletimestring/index.html
@@ -54,7 +54,7 @@ console.log(date.toLocaleTimeString());
// Форматирование ниже предполагает, что местный часовой пояс равен
// America/Los_Angeles для локали США
-// В америкаском английском используется 12-часовой формат времени
+// В американском английском используется 12-часовой формат времени
console.log(date.toLocaleTimeString('en-US'));
// → "7:00:00 PM"