strptime for different languages

Jon Ribbens jon+usenet at unequivocal.eu
Tue Dec 17 05:53:48 EST 2019


On 2019-12-17, Ulrich Goebel <ml at fam-goebel.de> wrote:
> I need to interpret a date string to get a datetime object. That should 
> be done with strptime from the module datetime.
>
> But I don't know enough about the locale settings from where the date 
> sting comes. Actually the date_string cames from different contact forms 
> inside websites made by different content management systems. So it could be
>    13. Januar 1965
>    13. January 1965
>    13.01.1965
>    1965-01-13

https://pypi.org/project/dateparser/


More information about the Python-list mailing list