diff --git a/reference/intl/dateformatter/get-locale.xml b/reference/intl/dateformatter/get-locale.xml index 2539eeb2eb..20b3cde963 100644 --- a/reference/intl/dateformatter/get-locale.xml +++ b/reference/intl/dateformatter/get-locale.xml @@ -73,8 +73,8 @@ $fmt = datefmt_create( "en_US" ,IntlDateFormatter::FULL,IntlDateFormatter::FULL,'America/Los_Angeles',IntlDateFormatter::GREGORIAN ); echo "locale of the formatter is : ".datefmt_get_locale($fmt); echo "First Formatted output is ".datefmt_format( $fmt , 0); -echo "locale of the formatter is : ".datefmt_get_locale($fmt); $fmt = datefmt_create( "de-DE" ,IntlDateFormatter::FULL,IntlDateFormatter::FULL,'America/Los_Angeles',IntlDateFormatter::GREGORIAN ); +echo "locale of the formatter is : ".datefmt_get_locale($fmt); echo "Second Formatted output is ".datefmt_format( $fmt , 0); ?>