--TEST-- IntlDateFormatter::formatObject(): IntlCalendar tests --EXTENSIONS-- intl --SKIPIF-- = 0) die('skip for ICU < 72.1'); ?> --FILE-- setTime(strtotime('2012-01-01 00:00:00')*1000.); echo IntlDateFormatter::formatObject($cal), "\n"; echo IntlDateFormatter::formatObject($cal, IntlDateFormatter::FULL, "en-US"), "\n"; ?> --EXPECTF-- 01/01/2012, 00:00:00 domingo, 1 de janeiro de 2012 às 00:00:00 Hora padrão %Sda Europa Ocidental Jan 1, 2012, 12:00:00 AM 1/1/12, 12:00:00 AM Western European Standard %STime Sun 2012-01-1 00,00,00.000 Portugal Time domingo, 1 de janeiro de 2012 às 05:00:00 GMT+03:00 06/02/1433, 00:00:00 Sunday, Safar 6, 1433 at 12:00:00 AM Western European Standard Time