Skip to content

Commit 425415b

Browse files
VERSION 0.10.4
1 parent ce4dbd6 commit 425415b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "v2xflexstack"
7-
version = "0.10.3"
7+
version = "0.10.4"
88
authors = [
99
{ name = "Jordi Marias-i-Parella", email = "[email protected]" },
1010
{ name = "Daniel Ulied Guevara", email = "[email protected]" },

src/flexstack/facilities/local_dynamic_map/ldm_classes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ class TimeValidity:
163163
Attributes
164164
----------
165165
time : int
166-
The time validity in Normal Unix Format.
166+
The time validity in Normal Unix Format (Seconds).
167167
"""
168168
time: int
169169

src/flexstack/facilities/local_dynamic_map/ldm_maintenance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def check_and_delete_time_validity(self) -> list[int]:
170170
time_invalidity_data_containers = []
171171
try:
172172
for data_container in self.get_all_data_containers():
173-
if TimestampIts(data_container["timeValidity"] + data_container["timestamp"]) < TimestampIts.initialize_with_utc_timestamp_seconds(int(TimeService.time())):
173+
if TimestampIts((data_container["timeValidity"]*1000) + data_container["timestamp"]) < TimestampIts.initialize_with_utc_timestamp_seconds(int(TimeService.time())):
174174
self.del_provider_data(data_container)
175175
time_invalidity_data_containers.append(data_container)
176176
except json.decoder.JSONDecodeError as e:

0 commit comments

Comments
 (0)