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