fixxed timeformat, again

This commit is contained in:
Timm Szigat 2015-03-20 17:23:30 +01:00
parent b633949282
commit e622d67510

View File

@ -4,7 +4,7 @@ layout: default
<script src="js/moment.js"></script>
<script src="js/d3.min.js"></script>
<script>
var timeFormat = 'YYYY-mm-dd HH:MM:SS';
var timeFormat = 'YYYY-MM-DD HH:mm:ss';
function toHHMMSS (sec_num) {
var hours = Math.floor(sec_num / 3600);
var minutes = Math.floor((sec_num - (hours * 3600)) / 60);