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

[Joda-time](https://www.joda.org/joda-time/) has the notion of a `LocalDate`, which is date without time; basically, what we mean by date in normal day-to-day English. I'm wondering if the SwiftDate library has it....

As mentioned in the doc's [date formatting section](https://github.com/malcommac/SwiftDate#8-date-formatting), we can specific a locale to affect the style of formatting. **But can we also specific a timezone used when formatting?** ```swift...

No commits have been merged for almost 2 years. Does it still maintained?

From [Apple docs](https://developer.apple.com/support/third-party-SDK-requirements/): > Starting in spring 2024, you must include the privacy manifest for any SDK listed below when you submit new apps in App Store Connect that include...

When using SwiftDate from Tuist, getting the following error (with 7.0.0): ``` The target SwiftDate has the following invalid resource globs: - The directory "/APP/Tuist/Dependencies/SwiftPackageManager/.build/checkouts/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/langs" defined in the glob pattern...

![image](https://github.com/malcommac/SwiftDate/assets/42597013/30962ca7-9c85-4482-afa9-50605d64a0fe) @malcommac mal I'm facing this issue when building lib by Xcode 15.0.1. Do you have any idea about this?

I wonder why ```swift let value = (75.minutes).timeInterval.toClock() // 01:15:00 ``` But ```swift let value = (65.minutes).timeInterval.toClock() // 65:00 ``` Same with seconds

When using the latest swiftlint [0.51.0](https://github.com/realm/SwiftLint/releases/tag/0.51.0), xcodeproj's prebuild script occurs a fatal error. So, the build failed for users who use carthage and install the latest swiftlint. And, xcodeproj file...

I have a textField that when input these `1s`, `10m`, `2m±1s` time values, I want to convert to TimeInterval or Date, but didn't found related usage guide, could you help...