SwiftDate icon indicating copy to clipboard operation
SwiftDate copied to clipboard

🐔 Toolkit to parse, validate, manipulate, compare and display dates, time & timezones in Swift.

Results 95 SwiftDate issues
Sort by recently updated
recently updated
newest added

how do I convert 12Hr UTC dateString into 24Hr local timezone(IST) dateString E.g. UTC dateString is "31-12-2018 08:30 PM" and need to convert this string into 24Hr IST timezone. (Expected...

When I add DateInRegion to a custom object and try to encode / decode it using UserDefaults an error (SwiftValue encodeWithCoder:]: unrecognized selector sent to instance) is thrown. Can you...

Carthage has the ability to use prebuilt frameworks, instead of building/compiling from source. This will eliminate the need for compilation and decrease overall build times, hopefully addressing #467. There's instructions...

enhancement

I could very well just be doing this incorrectly, but it appears that `.ascending` and `.descending` are not respecting the `start` values in the `TimePeriodCollection`. It _does_ sort, yet for...

Whenever device timezone is changed, default region in the application is not getting updated. Please check on this.

question

NSCalendar is not thread safe according to apple's document: https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/Multithreading/ThreadSafetySummary/ThreadSafetySummary.html So Region and DateInRegion is also not thread safe. Is it expected..? If so I'd be better to be documented...

bug
design

Hey there, I don't have time to create a PR right now, but thought I'd post my code here for you to update. The isInTimeRange function on line 639 isn't...

enhancement

There is a `resources` param on the SwiftDate target definition. However, those resources were removed since version 7.0.0. Because of this param, SPM resolution of this library is not working...