Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jk_edge_code_api_integration
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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sikhin.vc
jk_edge_code_api_integration
Commits
8fdaf41b
Commit
8fdaf41b
authored
May 08, 2023
by
Sikhin VC
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added datetime change API
parent
dc01eb99
Pipeline
#69359
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
scripts/cement_counter.py
scripts/cement_counter.py
+1
-1
No files found.
scripts/cement_counter.py
View file @
8fdaf41b
...
...
@@ -82,7 +82,7 @@ class CementBagCounter(ModelWrapper):
librt
=
ctypes
.
CDLL
(
ctypes
.
util
.
find_library
(
"rt"
))
ts
=
timespec
()
ts
.
tv_sec
=
int
(
time
.
mktime
(
datetime
.
datetime
(
*
time_tuple
[:
6
])
.
timetuple
()
)
)
ts
.
tv_sec
=
int
(
time
.
mktime
(
datetime
(
*
time_tuple
[:
6
])
.
timetuple
()
)
)
ts
.
tv_nsec
=
time_tuple
[
6
]
*
1000000
# Millisecond to nanosecond
# http://linux.die.net/man/3/clock_settime
...
...
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