Expose dateFormatter

This commit is contained in:
Johan Nordberg 2018-06-15 19:09:08 +02:00
parent b6e714c005
commit 206b456e34
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ public class Client {
/// JSON Coding helpers.
extension Client {
/// Steem-style date formatter (ISO 8601 minus Z at the end).
static let dateFormatter: DateFormatter = {
public static let dateFormatter: DateFormatter = {
let formatter = DateFormatter()
formatter.calendar = Calendar(identifier: .iso8601)
formatter.locale = Locale(identifier: "en_US_POSIX")