discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDateFormatter issue


From: Riccardo Mottola
Subject: Re: NSDateFormatter issue
Date: Thu, 16 Mar 2017 10:03:46 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46

Hi,

Lobron, David wrote:
dateStr = 20010102 09:00 AM, refStr = Jan 2, 2001, 9:00:00 AM

On a Mac, by contrast, dateStr has the correct format:

2017-03-13 11:30:03.081 testNsDateFormatter[6357:607704] dateStr = Jan 2, 2001, 
9:00:00 AM, refStr = Jan 2, 2001, 9:00:00 AM

Does anyone know what might be causing this?  If not, I will dig deeper into 
NSDateFormatter and also check libicu.  I tend to think libicu is not the 
problem, because it runs a lot of internal tests on the udat_format function, 
which is what NSDateFormatter is calling, and I've confirmed that the format 
tests pass when run within libicu.

could you do a test against current base? You mention you are running a "company version" of GNUstep. I don't know how old, changed or otherwise different is from our current tree.

I just tried against my up-to-date installation and this is my result:

2017-03-16 09:59:42.480 DirectoryTest[18460:18460] dateStr = Jan 2, 2001, 9:00:00 AM, refStr = Jan 2, 2001, 9:00:00 AM

This is consistent with your Mac output, isn't it? This is on Ubuntu with base configured using ICU.

Riccardo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]