timeformat fixxed
This commit is contained in:
parent
a48489aebd
commit
b633949282
@ -4,7 +4,7 @@ layout: default
|
|||||||
<script src="js/moment.js"></script>
|
<script src="js/moment.js"></script>
|
||||||
<script src="js/d3.min.js"></script>
|
<script src="js/d3.min.js"></script>
|
||||||
<script>
|
<script>
|
||||||
var timeFormat = '%Y-%m-%d %H:%M:%S';
|
var timeFormat = 'YYYY-mm-dd HH:MM:SS';
|
||||||
function toHHMMSS (sec_num) {
|
function toHHMMSS (sec_num) {
|
||||||
var hours = Math.floor(sec_num / 3600);
|
var hours = Math.floor(sec_num / 3600);
|
||||||
var minutes = Math.floor((sec_num - (hours * 3600)) / 60);
|
var minutes = Math.floor((sec_num - (hours * 3600)) / 60);
|
||||||
|
Loading…
Reference in New Issue
Block a user