php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68071 Change in INTL DateTime Formatter for 'nb_NO' locale
Submitted: 2014-09-22 11:06 UTC Modified: 2016-06-26 04:22 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: alek dot morland at gmail dot com Assigned: cmb (profile)
Status: No Feedback Package: *Languages/Translation
PHP Version: Irrelevant OS: Ubuntu
Private report: No CVE-ID: None
 [2014-09-22 11:06 UTC] alek dot morland at gmail dot com
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-06-07 17:01 UTC] cmb@php.net
-Status: Open +Status: Feedback
 [2016-06-07 17:01 UTC] cmb@php.net
Do you claim that `19. sep. 2014, 19:08:17` is wrong? Seems pretty
fine to me, but I don't speak Norwegian.
 [2016-06-15 00:22 UTC] cmb@php.net
-Assigned To: +Assigned To: cmb
 [2016-06-26 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 13 09:01:27 2025 UTC