Compare commits
No commits in common. "701023db593d853dbd3e82018c2ac932ad187cd7" and "38cf270307e5ad79a4fd2482cae3daddfa313480" have entirely different histories.
701023db59
...
38cf270307
2 changed files with 3 additions and 1 deletions
|
|
@ -492,7 +492,7 @@ build_map("map", coordinates, routes);
|
|||
|
||||
function timezoneOffsetLabel(offsetMinutes) {
|
||||
if (offsetMinutes === 0) {
|
||||
return "No difference";
|
||||
return "Same time as Bristol";
|
||||
}
|
||||
const sign = offsetMinutes > 0 ? "+" : "-";
|
||||
const abs = Math.abs(offsetMinutes);
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
"""Web page to show upcoming events."""
|
||||
|
||||
import decimal
|
||||
import functools
|
||||
import hashlib
|
||||
import importlib
|
||||
import inspect
|
||||
|
|
@ -806,6 +807,7 @@ def _timezone_from_coordinates(latitude: float, longitude: float) -> str | None:
|
|||
return None
|
||||
|
||||
|
||||
@functools.lru_cache(maxsize=1)
|
||||
def _get_timezone_finder() -> typing.Any:
|
||||
"""Get timezone finder instance if dependency is available."""
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue