[QGIS-Developer] QGIS, DateTime and TimeZones

Richard Duivenvoorde rdmailings at duif.net
Wed Sep 9 02:19:27 PDT 2020


On 9/9/20 2:19 AM, Nyall Dawson wrote:
> I think we have no choice but to start exposing time zone information
> to users everywhere we have dates, and move to treating dates without
> a timezone as being in "local time" (which may cause issues if
> projects + data are shared between users in different time zones). We
> should add timezone functionality to the expression engine, and
> algorithms for converting time zones to processing. We'd also need to
> add a "manual time zone override" option to temporal enabled layers --
> so for those sources with ambiguous time zone information the user has
> some capacity to manually pick the correct time zone.
> 
> It's definitely achievable, but it's not a trivial amount of work. I'd
> estimate we're looking at ~5-7 days to do this properly (and it needs
> to be done properly, covering all uses of datetime values all
> throughout QGIS and the different data providers! Hacking in
> one-by-one fixes in individual data providers will just make the
> situation worse)...

Well, I'm in :-)

It is probably not wise to push that in 3.16 (upcoming LTR...)  ;-)

But after that I'm happy to chip in at least one day of your (or others) time.
Others? Or is this something that can be project funded?

ALthough as said, I'm also afraid we are opening a can of worms.. date and timezones, grrr...

Regards,

Richard Duivenvoorde


More information about the QGIS-Developer mailing list