Commit adf6e5ce authored by Konstantin Schulz's avatar Konstantin Schulz
Browse files

fixed timer for test mode in test module

parent 8c848299
{
"name": "mc_frontend",
"version": "0.9.0",
"version": "0.9.1",
"author": "Ionic Framework",
"homepage": "https://ionicframework.com/",
"scripts": {
......
......@@ -246,7 +246,7 @@ export class TestPage implements OnDestroy, OnInit {
initTimer(durationSeconds: number) {
// add the new duration to countdown
const countDownDate = new Date(new Date().getTime() + durationSeconds * 15).getTime(); // 15 1000
const countDownDate = new Date(new Date().getTime() + durationSeconds * 1000).getTime(); // 15 1000
// Update the countdown every 1 second
this.timer = setInterval(() => {
// Get today's date and time
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment