Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
opcua-asyncio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nikola Balog
opcua-asyncio
Commits
a1193d21
Commit
a1193d21
authored
Dec 22, 2022
by
Alexander Schrode
Committed by
oroulet
Dec 29, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove duplicate line
parent
5e2e7c15
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
asyncua/ua/uatypes.py
asyncua/ua/uatypes.py
+0
-1
No files found.
asyncua/ua/uatypes.py
View file @
a1193d21
...
...
@@ -173,7 +173,6 @@ def datetime_to_win_epoch(dt: datetime):
else
:
ref
=
FILETIME_EPOCH_AS_UTC_DATETIME
max_ep
=
MAX_FILETIME_EPOCH_AS_UTC_DATETIME
ref
=
FILETIME_EPOCH_AS_DATETIME
if
dt
.
tzinfo
is
None
else
FILETIME_EPOCH_AS_UTC_DATETIME
# Python datetime starts from year 1, opc ua only support dates starting 1601-01-01 12:00AM UTC
# So we need to trunc the value to zero
if
ref
>=
dt
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment