geo-activity-playground 1.8.0__py3-none-any.whl → 1.8.2__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/core/datamodel.py +1 -1
- geo_activity_playground/explorer/tile_visits.py +2 -2
- {geo_activity_playground-1.8.0.dist-info → geo_activity_playground-1.8.2.dist-info}/METADATA +1 -1
- {geo_activity_playground-1.8.0.dist-info → geo_activity_playground-1.8.2.dist-info}/RECORD +7 -7
- {geo_activity_playground-1.8.0.dist-info → geo_activity_playground-1.8.2.dist-info}/LICENSE +0 -0
- {geo_activity_playground-1.8.0.dist-info → geo_activity_playground-1.8.2.dist-info}/WHEEL +0 -0
- {geo_activity_playground-1.8.0.dist-info → geo_activity_playground-1.8.2.dist-info}/entry_points.txt +0 -0
@@ -231,7 +231,7 @@ class Activity(DB.Model):
|
|
231
231
|
return self.start
|
232
232
|
|
233
233
|
@property
|
234
|
-
def
|
234
|
+
def start_utc(self) -> Optional[datetime.datetime]:
|
235
235
|
if self.start:
|
236
236
|
return self.start.replace(microsecond=0, tzinfo=zoneinfo.ZoneInfo("UTC"))
|
237
237
|
else:
|
@@ -254,9 +254,9 @@ 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.tz is None:
|
257
|
+
if first_time is not None and first_time.tz is None:
|
258
258
|
first_time = first_time.tz_localize("UTC")
|
259
|
-
if last_time.tz is None:
|
259
|
+
if last_time is not None and last_time.tz is None:
|
260
260
|
last_time = last_time.tz_localize("UTC")
|
261
261
|
try:
|
262
262
|
if first_time is None or time < first_time:
|
@@ -21,7 +21,7 @@ geo_activity_playground/core/activities.py,sha256=apP_-Rg1ub3lh7RARMGXf2BOmJTiah
|
|
21
21
|
geo_activity_playground/core/config.py,sha256=mmdMQ5iCLNGnAlriT1ETEVS-gM6Aq_9sg22QECHj4n8,5358
|
22
22
|
geo_activity_playground/core/coordinates.py,sha256=rW_OmMRpTUyIsQwrT6mgT9Y6uPGuwqTo5XDDMS7mGuo,1140
|
23
23
|
geo_activity_playground/core/copernicus_dem.py,sha256=t6Bc9fsyGyx1awdePXvlN-Zc-tiT2eGSJ80SV5B1Z9A,2944
|
24
|
-
geo_activity_playground/core/datamodel.py,sha256=
|
24
|
+
geo_activity_playground/core/datamodel.py,sha256=yuq3XCynetp1OlMr3fpSlXBArElgzdfejbqnJJX-xC4,16728
|
25
25
|
geo_activity_playground/core/enrichment.py,sha256=b27E_KK30xjq8MuGFZyIpKzz8fO2LwLVaGGTP0mb5N0,8618
|
26
26
|
geo_activity_playground/core/export.py,sha256=ayOmhWL72263oP9NLIZRYCg_Db0GLUFhgNIL_MCrV-E,4435
|
27
27
|
geo_activity_playground/core/heart_rate.py,sha256=-S3WAhS7AOywrw_Lk5jfuo_fu6zvZQ1VtjwEKSycWpU,1542
|
@@ -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.8.
|
179
|
-
geo_activity_playground-1.8.
|
180
|
-
geo_activity_playground-1.8.
|
181
|
-
geo_activity_playground-1.8.
|
182
|
-
geo_activity_playground-1.8.
|
178
|
+
geo_activity_playground-1.8.2.dist-info/LICENSE,sha256=4RpAwKO8bPkfXH2lnpeUW0eLkNWglyG4lbrLDU_MOwY,1070
|
179
|
+
geo_activity_playground-1.8.2.dist-info/METADATA,sha256=cANgkwiecvzFuCOLcxSR5MDkI7IaqpEhZa69LBS_7KE,1937
|
180
|
+
geo_activity_playground-1.8.2.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
181
|
+
geo_activity_playground-1.8.2.dist-info/entry_points.txt,sha256=pbNlLI6IIZIp7nPYCfAtiSiz2oxJSCl7DODD6SPkLKk,81
|
182
|
+
geo_activity_playground-1.8.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{geo_activity_playground-1.8.0.dist-info → geo_activity_playground-1.8.2.dist-info}/entry_points.txt
RENAMED
File without changes
|