From cb702560a70e9d74f5193e50f8e08a7c78699926 Mon Sep 17 00:00:00 2001 From: Mats Eikeland Mollestad Date: Sat, 4 May 2019 11:26:00 +0200 Subject: [PATCH] Changed the the calendar and time zone to public variables --- Sources/HTMLKit/HTMLRenderer.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/HTMLKit/HTMLRenderer.swift b/Sources/HTMLKit/HTMLRenderer.swift index 14df6b5a..e33601ca 100644 --- a/Sources/HTMLKit/HTMLRenderer.swift +++ b/Sources/HTMLKit/HTMLRenderer.swift @@ -41,10 +41,10 @@ public struct HTMLRenderer { var lingo: Lingo? /// The calendar to use when rendering dates - var calendar: Calendar = Calendar(identifier: .gregorian) + public var calendar: Calendar = Calendar(identifier: .gregorian) /// The time zone to use when rendering dates - var timeZone: TimeZone = TimeZone(secondsFromGMT: 0) ?? TimeZone.current + public var timeZone: TimeZone = TimeZone(secondsFromGMT: 0) ?? TimeZone.current public init() { formulaCache = [:]