changed time format to be locale dependent Signed-off-by: Lauren Prieto <lauren.prieto@ufl.edu>

Signed-off-by: Lauren Prieto <lauren.prieto@ufl.edu>
This commit is contained in:
Lauren Prieto 2022-09-25 21:36:07 -04:00 committed by Alexander Borsuk
parent d3bd60f6c0
commit 0df2d90588

View file

@ -136,8 +136,8 @@ final class PlacePagePreviewViewController: UIViewController {
let now = time_t(Date().timeIntervalSince1970);
let hourFormatter = DateFormatter();
hourFormatter.locale = Locale.current
hourFormatter.timeStyle = .short
hourFormatter.locale = Locale.current;
hourFormatter.timeStyle = .short;
switch placePagePreviewData.schedule.state {
case .allDay: