Commit Graph

17 Commits

Author SHA1 Message Date
Valentin Lorentz
5357f50bed Geography: Replace Canada/Newfoundland with America/St_Johns in tests
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1040997
2023-08-10 08:02:50 +02:00
Valentin Lorentz
d67fb2a8b2 Autocomplete, Fediverse, Geography, Poll: Run Black 2022-07-20 17:53:09 +02:00
Valentin Lorentz
4f3d6fc39f Geograpy: Fix formatting of negative non-integral offsets (and improve others) 2022-04-04 22:06:19 +02:00
Valentin Lorentz
4b892c2b1d all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Valentin Lorentz
da549e4fde Geography: Print current UTC offset next to timezones. 2022-01-16 20:45:41 +01:00
Valentin Lorentz
d2091e8f71 Geography: Always prefer IANA timezones over UTC offsets
Even if the UTC offsets are given on a more specific entity,
they are usually worthless to us (eg. DST).
2021-11-11 19:07:36 +01:00
Valentin Lorentz
76b9d6f0ce Geography: Properly handle missing timezones 2021-11-09 23:38:31 +01:00
Valentin Lorentz
93a407a9ac Geography: Add 'localtime' command 2021-11-09 23:10:59 +01:00
Valentin Lorentz
36ade18319 Geography: Add 'timezone' command 2021-11-09 22:41:40 +01:00
Valentin Lorentz
696d82ccfe Geography: Fix crash in nominatim.py when some results are not OSM objects 2021-11-09 22:41:40 +01:00
Valentin Lorentz
162e974aba Geography: Implement search for OSM IDs using Nominatim. 2021-11-09 22:41:40 +01:00
Valentin Lorentz
35c1407779 Geography: Add support for querying Wikidata from an OSM ID. 2021-11-09 22:41:40 +01:00
Valentin Lorentz
1a72a7d6d0 Geography: run Black 2021-11-09 22:41:40 +01:00
Valentin Lorentz
849acb21f4 Geography: Clean up the SPARQL statement. 2021-11-09 22:41:40 +01:00
Valentin Lorentz
3b7379ec0f Geography: Fix typo, preventing exclusion of non-constant offset statements on timezones
eg. it did not exclude the offsets from Q941023 (Eastern Time Zone)
2021-11-09 22:41:40 +01:00
Valentin Lorentz
0a6f598295 Geography: Set a better user-agent to access Wikidata 2021-11-09 22:41:40 +01:00
Valentin Lorentz
27c513135c Geography: Early draft, with buggy implementation of timezone_from_qid. 2021-11-09 22:41:40 +01:00