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
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep