Skip to content

Commit

Permalink
Merge pull request #21 from Blackjacx/add-months-format
Browse files Browse the repository at this point in the history
Add month formatting
  • Loading branch information
Blackjacx authored Aug 7, 2020
2 parents f13df61 + f200624 commit eeb1f7c
Show file tree
Hide file tree
Showing 4 changed files with 274 additions and 80 deletions.
10 changes: 4 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## [Unreleased]
* [#21](https://github.com/Blackjacx/SHDateFormatter/pull/21): Add month formatting - [@blackjacx](https://github.com/blackjacx).

## [1.4.3] - 2019-12-03
* [#19](https://github.com/Blackjacx/SHDateFormatter/pull/19): Add new accessibility date format & Fix Vulnerabilities & 12/24h check - [@blackjacx](https://github.com/blackjacx).
Expand All @@ -24,14 +25,11 @@
* [#5](https://github.com/Blackjacx/SHDateFormatter/pull/5): Improve Robustness By Using Apple's Default Formatting Styles - [@blackjacx](https://github.com/blackjacx).

## [1.0.2] - 2017-10-10
### Changed
* Refactor project structure
* Refactor project structure - [@blackjacx](https://github.com/blackjacx).

## [1.0.1] - 2017-10-10
### Fixed
* Fix source-file reference in podspec
* Fix source-file reference in podspec - [@blackjacx](https://github.com/blackjacx).

## [1.0.0] - 2017-09-28
### Changed
* [#4](https://github.com/Blackjacx/SHDateFormatter/pull/4): Conversion to Swift 4 - [@blackjacx](https://github.com/blackjacx).
* opts in for new build system - [@blackjacx](https://github.com/blackjacx).
* Opts in for new build system - [@blackjacx](https://github.com/blackjacx).
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<img alt="Cocoapods Platforms" src="https://img.shields.io/cocoapods/p/SHDateFormatter.svg" />
<img alt="Xcode 11.0+" src="https://img.shields.io/badge/Xcode-11.0%2B-blue.svg" />
<img alt="iOS 9.0+" src="https://img.shields.io/badge/iOS-9.0%2B-blue.svg" />
<img alt="Swift 5.1+" src="https://img.shields.io/badge/Swift-5.1%2B-orange.svg" />
<img alt="Swift 5.2+" src="https://img.shields.io/badge/Swift-5.2%2B-orange.svg" />
<img alt="Github Repo Size" src="https://img.shields.io/github/repo-size/blackjacx/SHDateFormatter.svg" />
<img alt="Github Code Size" src="https://img.shields.io/github/languages/code-size/blackjacx/SHDateFormatter.svg" />
<img alt="Github Closed PR's" src="https://img.shields.io/github/issues-pr-closed/blackjacx/SHDateFormatter.svg" />
Expand Down Expand Up @@ -37,8 +37,10 @@

This framework supports encoding as well as decoding many different date and time format. At the moment the follownig are supported (see SHDateFormat):

* `shortWeekdayName` => Sun, Mon, Tue, ...
* `longWeekdayName` => Sunday, Monday, Tuesday, ...
* `shortWeekday` => Sun, Mon, Tue, ...
* `longWeekday` => Sunday, Monday, Tuesday, ...
* `shortMonth` => Jan, Feb, ...
* `longMonth` => January, February, ...
* `shortTimeNoDate` => 12:00 PM, 1:00 AM
* `shortTimeMediumDate` => Jan 1, 2000 at 12:00 AM
* `noTimeShortDateNoYear` => 12/31
Expand All @@ -53,10 +55,6 @@ Additionally the following convenience functions are available on the SHDateForm
* `localizedTimeStringFromDate(_:)` - will return `--:--` per default
* ... to be continued ...

## Requirements

The framework is compatible with Xcode 11 and Swift 5.1+. The minimum version is iOS 9.

## Installation

SHDateFormatter is available through [CocoaPods](http://cocoapods.org). To install
Expand Down
Loading

0 comments on commit eeb1f7c

Please sign in to comment.