WIP WIP WIP ** first git - markers work as expected

This commit is contained in:
rxf
2023-03-14 17:34:48 +01:00
commit b270370105
29 changed files with 2399 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
// all date and time functions
import { DateTime } from './luxon.min.js'
// Show date and time (every minute)
export const showDate = (sofort) => {
let d = DateTime.now()
if(sofort || d.second === 0) {
$('#h1datum').text(d.toFormat('yyyy-MM-dd HH:mm'))
}
}
export const formatJSDate = (d) => {
return DateTime.fromJSDate(d).toFormat('yyyy-LL-dd HH:mm:ss')
}