현재 로케일과 시간대 적용
This commit is contained in:
@@ -528,7 +528,7 @@ struct LiveRoomCreateView: View {
|
||||
DatePicker("", selection: $viewModel.reservationDate, in: Date()..., displayedComponents: .date)
|
||||
.datePickerStyle(WheelDatePickerStyle())
|
||||
.labelsHidden()
|
||||
.environment(\.locale, Locale.init(identifier: "ko"))
|
||||
.environment(\.locale, Locale.autoupdatingCurrent)
|
||||
.frame(width: proxy.size.width)
|
||||
|
||||
Button(action: { self.isShowSelectDateView = false }) {
|
||||
@@ -559,7 +559,7 @@ struct LiveRoomCreateView: View {
|
||||
DatePicker("", selection: $viewModel.reservationTime, displayedComponents: .hourAndMinute)
|
||||
.datePickerStyle(WheelDatePickerStyle())
|
||||
.labelsHidden()
|
||||
.environment(\.locale, Locale.init(identifier: "ko"))
|
||||
.environment(\.locale, Locale.autoupdatingCurrent)
|
||||
.frame(width: proxy.size.width - 53.4)
|
||||
|
||||
Button(action: { self.isShowSelectTimeView = false }) {
|
||||
|
||||
Reference in New Issue
Block a user