Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
ui.DatePicker month in your language
-
Perhaps already done in the past (sorry if duplicate)
import ui import datetime from objc_util import * dp = ui.DatePicker() dp.background_color = 'lightgray' dp.name = 'ui.DatePicker in your language' dp.mode = ui.DATE_PICKER_MODE_DATE dp.date = datetime.datetime.today() dpo = ObjCInstance(dp) NSLocale = ObjCClass('NSLocale').alloc().initWithLocaleIdentifier_(ns('fr_FR')) dpo.setLocale_(NSLocale) dp.present('sheet',title_bar_color='cyan') dp.wait_modal()
-
Merci beaucoup !