vezinaca / Banq_Achat

Divers scripts qui interagissent avec la BANQ
0 stars 0 forks source link

format de la date change selon langue du site #28

Closed vezinaca closed 4 years ago

vezinaca commented 4 years ago

ValueError: time data '19/12/2019' does not match format '%m/%d/%Y' ValueError: time data '12/19/2019' does not match format '%d/%m/%Y'

vezinaca commented 4 years ago

lorsque je suis sur mon data de cell = anglais, sinon français

gregsadetsky commented 4 years ago

you need to figure out a way to set the language permanently, at the beginning of your session. you cannot depend on which internet connection you're using.

start by setting 1 known language (english for instance) and then assume in the rest of your code that you're always on the English site

gregsadetsky commented 4 years ago

great job!