SwiftyChrono icon indicating copy to clipboard operation
SwiftyChrono copied to clipboard

A natural language date parser in Swift (ported from chrono.js)

Results 8 SwiftyChrono issues
Sort by recently updated
recently updated
newest added

I've added Russian language support based on [that original's Chrono PR](https://github.com/wanasit/chrono/pull/320) Also I've fixed build for linux that allows you to use that package on server side :tada: And I've...

I updated Package.swift to the 4.2 version format. I have also added missing imports in test files. With those imports, tests target can be compiled with SPM, although tests cannot...

how to change the time zone? right now, I'm passing refdate as my local time so in some scenarios it is showing right and some it shows according to different...

Add catalan support. The implementation is a direct translation of the spanish one. If #13 gets merged, this branch will need an update that removes SwiftyChrono sources from test targets....

68919ff fixes some test assert messages that I noticed were wrong. a9ad873 fixes one test that was not using the Spanish casual parser. 3d9a3cf fixes spanish weekday parser

This branch extracts test resource loading logic to a method. The new method will load the resource from the lib bundle. If the resource file is not contained in the...

**Example 1** input text: 2014-04-18 1pm ~ 2014-04-20 3pm the end date it parsed is 2014-04-18 **Example 2** input text: 2/25 ~ 2/28 the end date is nil