Skip to content
Snippets Groups Projects
Commit c0402b26 authored by jkerdreu's avatar jkerdreu
Browse files

Remove seconds..


git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/fork@1743 b32b6428-25c9-4566-ad07-03861ab6144f
parent 70109709
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ var self = this;
this.on('mount',function() {
clock();
setInterval(clock, 1000);
setInterval(clock, 5000);
});
......@@ -20,10 +20,9 @@ this.on('mount',function() {
function clock() {
var time = new Date(),
hours = time.getHours(),
minutes = time.getMinutes(),
seconds = time.getSeconds();
minutes = time.getMinutes();
self.clock = harold(hours) + ":" + harold(minutes) + ":" + harold(seconds);
self.clock = harold(hours) + ":" + harold(minutes);
self.update();
}
......@@ -40,9 +39,8 @@ function harold(standIn) {
<style>
.clock {
font-weight: bold;
font-size : 145%;
font-size : 200%;
color: #ff005f;
align: center;
font-family: 'Orbitron', sans-serif;
}
</style>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment