geo-activity-playground 1.7.1__py3-none-any.whl → 1.8.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- geo_activity_playground/explorer/tile_visits.py +7 -3
- {geo_activity_playground-1.7.1.dist-info → geo_activity_playground-1.8.1.dist-info}/METADATA +1 -1
- {geo_activity_playground-1.7.1.dist-info → geo_activity_playground-1.8.1.dist-info}/RECORD +6 -6
- {geo_activity_playground-1.7.1.dist-info → geo_activity_playground-1.8.1.dist-info}/LICENSE +0 -0
- {geo_activity_playground-1.7.1.dist-info → geo_activity_playground-1.8.1.dist-info}/WHEEL +0 -0
- {geo_activity_playground-1.7.1.dist-info → geo_activity_playground-1.8.1.dist-info}/entry_points.txt +0 -0
@@ -60,15 +60,15 @@ logger = logging.getLogger(__name__)
|
|
60
60
|
|
61
61
|
class TileInfo(TypedDict):
|
62
62
|
activity_ids: set[int]
|
63
|
-
first_time:
|
63
|
+
first_time: pd.Timestamp
|
64
64
|
first_id: int
|
65
|
-
last_time:
|
65
|
+
last_time: pd.Timestamp
|
66
66
|
last_id: int
|
67
67
|
|
68
68
|
|
69
69
|
class TileHistoryRow(TypedDict):
|
70
70
|
activity_id: int
|
71
|
-
time:
|
71
|
+
time: pd.Timestamp
|
72
72
|
tile_x: int
|
73
73
|
tile_y: int
|
74
74
|
|
@@ -254,6 +254,10 @@ def _process_activity(
|
|
254
254
|
|
255
255
|
first_time = tile_visit.get("first_time", None)
|
256
256
|
last_time = tile_visit.get("last_time", None)
|
257
|
+
if first_time is not None and first_time.tz is None:
|
258
|
+
first_time = first_time.tz_localize("UTC")
|
259
|
+
if last_time is not None and last_time.tz is None:
|
260
|
+
last_time = last_time.tz_localize("UTC")
|
257
261
|
try:
|
258
262
|
if first_time is None or time < first_time:
|
259
263
|
tile_visit["first_id"] = activity_id
|
@@ -48,7 +48,7 @@ geo_activity_playground/core/tiles.py,sha256=LBn2V6WAvMxZeXSIQ8ruZL71iyvOXoFZMz7
|
|
48
48
|
geo_activity_playground/core/time_conversion.py,sha256=f5CByqyWSthCplrbXZThSFbt3eY-t1g-2H5lkfBlgc0,1556
|
49
49
|
geo_activity_playground/explorer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
50
50
|
geo_activity_playground/explorer/grid_file.py,sha256=YNL_c4O1-kxaajATJwj4ZLywCL5Hpj9qy2h-F7rk8Yg,3260
|
51
|
-
geo_activity_playground/explorer/tile_visits.py,sha256=
|
51
|
+
geo_activity_playground/explorer/tile_visits.py,sha256=BEv6mUNO8Q71HbRPJDXe4OrzQW0CTMKh6DE9hNU9ukw,17188
|
52
52
|
geo_activity_playground/explorer/video.py,sha256=7j6Qv3HG6On7Tn7xh7Olwrx_fbQnfzS7CeRg3TEApHg,4397
|
53
53
|
geo_activity_playground/heatmap_video.py,sha256=I8i1uVvbbPUXVtvLAROaLy58nQoUPnuMCZkERWNkQjg,3318
|
54
54
|
geo_activity_playground/importers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -175,8 +175,8 @@ geo_activity_playground/webui/templates/summary/vega-chart.html.j2,sha256=mw8Hti
|
|
175
175
|
geo_activity_playground/webui/templates/time_zone_fixer/index.html.j2,sha256=s9r6BJMXmd7kLSyjkvH4xLi6e01S5bpGRcMgMMJyCAE,1760
|
176
176
|
geo_activity_playground/webui/templates/upload/index.html.j2,sha256=I1Ix8tDS3YBdi-HdaNfjkzYXVVCjfUTe5PFTnap1ydc,775
|
177
177
|
geo_activity_playground/webui/templates/upload/reload.html.j2,sha256=YZWX5eDeNyqKJdQAywDBcU8DZBm22rRBbZqFjrFrCvQ,556
|
178
|
-
geo_activity_playground-1.
|
179
|
-
geo_activity_playground-1.
|
180
|
-
geo_activity_playground-1.
|
181
|
-
geo_activity_playground-1.
|
182
|
-
geo_activity_playground-1.
|
178
|
+
geo_activity_playground-1.8.1.dist-info/LICENSE,sha256=4RpAwKO8bPkfXH2lnpeUW0eLkNWglyG4lbrLDU_MOwY,1070
|
179
|
+
geo_activity_playground-1.8.1.dist-info/METADATA,sha256=HyyJa5cDbqyVU5OwcEhBZtZtBbgQ2ioHqWVuuLTmuOg,1937
|
180
|
+
geo_activity_playground-1.8.1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
181
|
+
geo_activity_playground-1.8.1.dist-info/entry_points.txt,sha256=pbNlLI6IIZIp7nPYCfAtiSiz2oxJSCl7DODD6SPkLKk,81
|
182
|
+
geo_activity_playground-1.8.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{geo_activity_playground-1.7.1.dist-info → geo_activity_playground-1.8.1.dist-info}/entry_points.txt
RENAMED
File without changes
|