Bug #68071 [NEW]: Change in INTL DateTime Formatter for 'nb_NO' locale
From: alek dot morland at gmail dot com
Operating system: Ubuntu
PHP version: Irrelevant
Package: *Languages/Translation
Bug Type: Bug
Bug description:Change in INTL DateTime Formatter for 'nb_NO' locale
Description:
------------
---
From manual page: http://www.php.net/intldateformatter.format
---
Run this code on PHP 5.3 and 5.5 and see it change the format, for the
Norwegian locale.
Test script:
---------------
<?php
$locale = 'nb_NO';
$formatter = IntlDateFormatter::create($locale,
IntlDateFormatter::MEDIUM, IntlDateFormatter::MEDIUM,
date_default_timezone_get());
echo $formatter->format(time());
Expected result:
----------------
19:08:17 19. sep. 2014
Actual result:
--------------
19. sep. 2014, 19:08:17
--
Edit bug report at https://bugs.php.net/bug.php?id=68071&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68071&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68071&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68071&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=68071&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=68071&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=68071&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=68071&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=68071&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=68071&r=support
Expected behavior: https://bugs.php.net/fix.php?id=68071&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=68071&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=68071&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=68071&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68071&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=68071&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=68071&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=68071&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=68071&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=68071&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=68071&r=mysqlcfg
Thread (2 messages)
- alek dot morland at gmail dot com