Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-web-393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-web-393
Commits
5f6a52aa
Commit
5f6a52aa
authored
Sep 02, 2020
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
time needs to be in quotes
parent
94d43b38
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
utils.php
src/php_top/utils.php
+1
-1
No files found.
src/php_top/utils.php
View file @
5f6a52aa
...
...
@@ -62,7 +62,7 @@ function cmd_time(){
if
(
isset
(
$_GET
[
'apply'
])
||
(
abs
(
$ts_s
-
$t
)
>
24
*
3600
)){
elphel_set_fpga_time
(
$_GET
[
'ts'
]
/
1000
);
exec
(
"date -s
$ts_formatted
"
);
exec
(
"date -s
'
$ts_formatted
'
"
);
exec
(
"hwclock --systohc"
);
print
(
"Timestamps differ by more than 24h. Camera and fpga time updated.
\n
"
);
}
...
...
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