fix export
Gitea Actions Demo / build_and_push (push) Successful in 1m21s
Details
Gitea Actions Demo / build_and_push (push) Successful in 1m21s
Details
This commit is contained in:
parent
59aa7311c6
commit
d0695a1c91
|
|
@ -1,4 +1,5 @@
|
|||
<script setup lang="ts">
|
||||
<script lang="ts">
|
||||
|
||||
export type Attachment = {
|
||||
url: string;
|
||||
}
|
||||
|
|
@ -21,17 +22,17 @@
|
|||
longitude: number;
|
||||
}
|
||||
export const secondsToDuration = (seconds: number) => {
|
||||
var hours = Math.floor(seconds / 3600);
|
||||
var minutes = Math.floor((seconds % 3600) / 60);
|
||||
return `${hours} ч. ${minutes} мин.`;
|
||||
}
|
||||
let hours = Math.floor(seconds / 3600);
|
||||
let minutes = Math.floor((seconds % 3600) / 60);
|
||||
return `${hours} ч. ${minutes} мин.`;
|
||||
}
|
||||
|
||||
export const distConvert = (speed: number) => {
|
||||
return Math.round(speed/1000)
|
||||
}
|
||||
export const distConvert = (speed: number) => {
|
||||
return Math.round(speed/1000)
|
||||
}
|
||||
|
||||
export const speedConvert = (speed: number) => {
|
||||
return Math.round(speed*3.6)
|
||||
}
|
||||
|
||||
export const speedConvert = (speed: number) => {
|
||||
return Math.round(speed*3.6)
|
||||
}
|
||||
export default {}
|
||||
</script>
|
||||
Loading…
Reference in New Issue