From da73939dd13d328cc7f4142a88127441cda63544 Mon Sep 17 00:00:00 2001 From: David CARLIER Date: Sun, 10 Dec 2023 16:13:50 +0000 Subject: [PATCH] Sync IntlDateFormatter docs with EN (#697) --- reference/intl/dateformatter/create.xml | 22 ++++++++++++++++++- reference/intl/dateformatter/get-calendar.xml | 22 ++++++++++++++++++- 2 files changed, 42 insertions(+), 2 deletions(-) diff --git a/reference/intl/dateformatter/create.xml b/reference/intl/dateformatter/create.xml index 351b46db50..3ee26081e4 100644 --- a/reference/intl/dateformatter/create.xml +++ b/reference/intl/dateformatter/create.xml @@ -1,5 +1,5 @@ - + @@ -217,6 +217,26 @@ $fmt = new IntlDateFormatter( "de-DE" ,IntlDateFormatter::FULL, IntlDateFormatte 'America/Los_Angeles',IntlDateFormatter::GREGORIAN , "MM/dd/yyyy"); echo "Le deuxième format est affiché avec le modèle : ".$fmt->format(0); ?> +]]> + + + + Exemple de gestion de locale invalide + + ]]> diff --git a/reference/intl/dateformatter/get-calendar.xml b/reference/intl/dateformatter/get-calendar.xml index b3cbcaa786..1e4a1e7f5a 100644 --- a/reference/intl/dateformatter/get-calendar.xml +++ b/reference/intl/dateformatter/get-calendar.xml @@ -1,5 +1,5 @@ - + @@ -96,6 +96,26 @@ echo 'Le calendrier est maintenant : ' . $fmt->getCalendar(); ]]> + + Exemple de gestion de locale invalide + + +]]> + + &example.outputs;