0

I have a UIDatePicker that is set to fr_FR so I have on the weel the numbers from 00 to 23. When I select an hour I get the English format, if I pick , let's say, 19 , I would like to get 19:00 on the screen, but I get 07:00.

Nitin Gohel
  • 49,482
  • 17
  • 105
  • 144
frénésie
  • 1,716
  • 3
  • 16
  • 14

1 Answers1

2

may be prob in your dateformate you setdateformat:@"hh:mm" check as a bellow link

[datePickerFormat setDateFormat:@"HH:mm"];

check the bellow link may be its help more

Setting NSDate in a "TimePicker" with 24 - 12 hours format xcode

Community
  • 1
  • 1
Nitin Gohel
  • 49,482
  • 17
  • 105
  • 144