Releases: MatthewYork/DateTools
Releases · MatthewYork/DateTools
1.5.0 - New Features, Languages and Bug Fixes
- Added short format support for Japanese, Chinese (Trad. & Simp.), Turkish
- Added numeric times for English ("1 second ago" instead of "Just Now")
- Added two new date creation methods that build a date by parts
- Added new method to determine if date is on a weekend
1.4.3 - Fixed Deprecations
- Fixed the NSCalendarUnit and NSCalendarIdentifier deprecations
1.4.2 - OSX Target Compatability
Added OSX target compatibility to cocoapods
1.4.1 - Fixed Leap Year
- @waterskier2007 fixed typo in the isLeapYear function
Fixed warnings, new shortened translations
- Fixed NSDateComponents warnings #30
- New shortened timeAgo translations for English, Spanish, Czech, German and Romanian
1.3.0 - New translation and helper methods
- Added Welsh translation
- Added new isToday, isYesterday, isTomorrow methods
1.2.1 - Improved Translation Rules and Localization
- Added improved translation rules for Russian and Ukrainian "timeAgo" translations
- Updated localization call to use current app localization instead of the device localization
1.2.0 - New Translations and Speed Bump
- Added Translations:
- Basque
- Catalan
- Indonesian
- Sped up and reduced allocations in formatters
1.1.0 - Localizations and Speed Boost
v1.1.0 includes:
Localizations
The merging in of the NSDate+TimeAgo library. This includes built in localizations for the following langauges:
- en (English)
- es (Spanish)
- zh_Hans (Chinese Simplified)
- zh_Hant (Chinese Traditional)
- pt (Portuguese)
- fr (French)
- it (Italian)
- ru (Russian)
- de (German)
- nl (Dutch)
- hu (Hungarian)
- fi (Finnish)
- ja (Japanese)
- vi (Vietnamese)
- ro (Romanian)
- da (Danish)
- cs (Czech)
- nb (Norwegian)
- lv (Latvian)
- tr (Turkish)
- ko (Korean)
- bg (Bulgarian)
- he (Hebrew)
- ar (Arabic)
- gre (Greek)
- pl (Polish)
- sv (Swedish)
- th (Thai)
- uk (Ukrainian)
- is (Icelandic)
Speed Boost
DateTools now instantiates a single instance of NSCalendar, thereby saving allocations on future calls requiring it. Tests saw around a 30-40% improvement in speed.
Lower Minimum SDK
The minimum required SDK was lowered to 6.0 from 6.1
DateTools 1.0
The initial release of DateTools for Objective-C. With DateTools, you can:
- Easily work with dates and times through a helpful NSDate category
- Create and manipulate time periods
- Create and manipulate collections of time periods