Daniele Margutti
Daniele Margutti
As far as I know you can't change it but it's set by the `Locale` used to represent the `Date/DateInRegion`. Am I missing something?
Have you tried to print the date? I've tried it and I found a curious behaviour The date seems rounded in debug viewer but the value is actually correct. Generation...
Ok I'll wait for you. We can decide to remove an entire second but if we found better alternatives I'll be more satisfied. Thanks for your support
Is there a way to check it in Simulator? Both Locale and TimeZone uses the default autoupdating feature.
I tried to debug a little this issue and I'm not sure of the result. Here you can see the stack trace. Most of the time is spent on `Calendar._bridgeToObjectiveC()`...
This is really interesting https://medium.com/@Tho_Stark/speed-up-your-dateformatter-63efec7b6723: > But the surprise is that changing the calender property costs much more time than instantiating a new DateFormatter. And it is nearly 5 times...
I'm finishing TimePeriod class; I think we could add a shortcut to manage time-only interval in NSDate/DateInRegion which uses TimePeriod methods. I'll post updated later this week.
Scheduled for 4.2.0
Yeah, it would be nice; I can't make any promise to put this in action soon, but I agree with the idea, and I'll schedule it for a future update....
Absolutely true, it was added for test and never removed. My fault, fixed for the next release.