mirror of
https://github.com/ThisIsBenny/iOS-Widgets.git
synced 2025-06-05 21:17:40 +00:00
Week with ohne decimal
This commit is contained in:
parent
6171fbbcb8
commit
b54e9db094
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ function getTimeRemaining(endtime){
|
|||
};
|
||||
}
|
||||
let remainingDays = getTimeRemaining(dateForCountdown).days + 1;
|
||||
let remainingWeeks = Math.round(remainingDays /7);
|
||||
let remainingWeeks = Math.round(remainingDays*10 /7)/10;
|
||||
|
||||
// Create Widget
|
||||
let widget = new ListWidget();
|
||||
|
|
Loading…
Add table
Reference in a new issue