Have a look at the tests in -base (
https://github.com/gnustep/libs-base/blob/master/Tests/base/NSDateFormatter/general.m),
they work NSDateFormatter pretty well. If you do find a bug, please try to
write a test case, too.

Regards

On Tue, Aug 22, 2017 at 11:59 AM, Edwin Ancaer <[email protected]> wrote:

>
> Stefan,
>
> Indeed, this solves my problems.
>
> The last difficulty whas that the displayed time was tho hours behind, but
> it took me some time to realize it was a problem with the settings of the
> clock in freebsd.
>
> And I have to admit I underestimated the  complexity of date and time
> handling, with the possibilities given by  classes as NSTimezone,
> NSCalendar, NSDateFormatter and NSDate.
>
> Systempreferences is working perfect for Date & time settings.
>
> I do have the impression that NSDateformatter is not working 100 %
> correctly, but I will need  some more experiments.
>
> Thanks anyway,
>
> _______________________________________________
> Discuss-gnustep mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
>
>
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to