mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-11 08:56:54 +01:00
22 lines
466 B
Swift
22 lines
466 B
Swift
|
//
|
||
|
// FeedbinDate.swift
|
||
|
// Account
|
||
|
//
|
||
|
// Created by Maurice Parker on 5/12/19.
|
||
|
// Copyright © 2019 Ranchero Software, LLC. All rights reserved.
|
||
|
//
|
||
|
|
||
|
import Foundation
|
||
|
|
||
|
struct FeedbinDate {
|
||
|
|
||
|
public static var formatter: DateFormatter = {
|
||
|
let formatter = DateFormatter()
|
||
|
formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSSSS'Z'"
|
||
|
formatter.locale = Locale(identifier: "en_US")
|
||
|
formatter.timeZone = TimeZone(abbreviation: "GMT")
|
||
|
return formatter
|
||
|
}()
|
||
|
|
||
|
}
|