From 2380810a577a7d338f9fabbb2e98297243275cd6 Mon Sep 17 00:00:00 2001 From: UriyDevyataev Date: Tue, 20 Jun 2023 10:35:16 +0300 Subject: [PATCH] ref #90656 https://github.com/simla-tech/Fastis/issues/25 --- Sources/Views/Controller.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Views/Controller.swift b/Sources/Views/Controller.swift index aade6da..a5bb75c 100644 --- a/Sources/Views/Controller.swift +++ b/Sources/Views/Controller.swift @@ -247,7 +247,7 @@ open class FastisController: UIViewController, JTACMonthView public init(config: FastisConfig = .default) { self.config = config self.appearance = config.controller - self.dayFormatter.locale = Locale.current + self.dayFormatter.locale = config.calendar.locale self.dayFormatter.dateFormat = "d" super.init(nibName: nil, bundle: nil) }