"juste une remarque"
This commit is contained in:
parent
ae292aca31
commit
e85f2e450b
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ import App from './App.svelte';
|
||||||
|
|
||||||
function mkEvent(title, start, duration, ...rest) {
|
function mkEvent(title, start, duration, ...rest) {
|
||||||
start = new Date(start)
|
start = new Date(start)
|
||||||
let end = new Date(start)
|
const end = new Date(start)
|
||||||
end.setMinutes(start.getMinutes() + duration)
|
end.setMinutes(start.getMinutes() + duration)
|
||||||
return {
|
return {
|
||||||
title,
|
title,
|
||||||
|
|
Loading…
Reference in a new issue