fix date to utc+1
ci/woodpecker/push/woodpecker Pipeline was successful
Podrobnosti
ci/woodpecker/push/woodpecker Pipeline was successful
Podrobnosti
This commit is contained in:
rodič
a09f7904ef
revize
4a3b3acaf7
|
@ -1,5 +1,4 @@
|
||||||
<script>
|
<script>
|
||||||
import { time_ranges_to_array } from 'svelte/internal';
|
|
||||||
import { marked } from 'marked';
|
import { marked } from 'marked';
|
||||||
|
|
||||||
export let data;
|
export let data;
|
||||||
|
@ -26,7 +25,7 @@
|
||||||
String(dateObj.getMinutes()).padStart(2, '0'),
|
String(dateObj.getMinutes()).padStart(2, '0'),
|
||||||
String(endObj.getMinutes()).padStart(2, '0')
|
String(endObj.getMinutes()).padStart(2, '0')
|
||||||
];
|
];
|
||||||
return `${dateObj.getHours()}:${minutes[0]} - ${endObj.getHours()}:${minutes[1]}`;
|
return `${dateObj.getUTCHours()+1}:${minutes[0]} - ${endObj.getUTCHours()+1}:${minutes[1]}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
function contributorsData(arr) {
|
function contributorsData(arr) {
|
||||||
|
|
Načítá se…
Odkázat v novém úkolu