dateparser icon indicating copy to clipboard operation
dateparser copied to clipboard

Exception with tzlocal

Open ciakkarino opened this issue 2 years ago • 2 comments

The tzlocal pip package was just updated to the version 4.0. It seesm that in this version you should define explicitely your timezone, if not it raise an exception like

tzlocal.utils.ZoneInfoNotFoundError: 'Multiple conflicting time zone configurations found

ciakkarino avatar Oct 18 '21 14:10 ciakkarino

Same problem here. Resolved downgrading tzlocal.

flaviussn avatar Oct 19 '21 13:10 flaviussn

Yep, me too, forcing the version 3.0 it works

ciakkarino avatar Oct 19 '21 16:10 ciakkarino

@ciakkarino @flaviussn Is this still a problem? (cc @serhii73)

And, if it is, could any of you provide the shortest possible Python code to reproduce this issue? It is not clear to me if, when you say you should specify your timezone, you mean at the ssytem level or something else.

Gallaecio avatar Nov 11 '22 09:11 Gallaecio

Hi Gallaecio, I installed the latest version of dateparser and tzlocal and now everything works fine. So it's not anymore a problem :)

ciakkarino avatar Nov 11 '22 16:11 ciakkarino