Files
GitHawk/Classes/Systems/GithubAPIDateFormatter.swift
James Sherlock e7da532fe7 Update to use Apple's ISO8601 Date Formatter
Fixes issues caused by 12hr/24hr clocks
2017-07-10 17:12:38 +01:00

16 lines
353 B
Swift

//
// GithubAPIDateFormatter.swift
// Freetime
//
// Created by Ryan Nystrom on 5/15/17.
// Copyright © 2017 Ryan Nystrom. All rights reserved.
//
import Foundation
private let dateFormatter = ISO8601DateFormatter()
func GithubAPIDateFormatter() -> ISO8601DateFormatter {
// https://developer.github.com/v3/#schema
return dateFormatter
}