Bye bye spot.js

This commit is contained in:
2026-04-25 23:55:11 +02:00
parent 7dc2b28c44
commit b339d6d068
13 changed files with 270 additions and 470 deletions
+11
View File
@@ -0,0 +1,11 @@
export default class User {
constructor(asUserInfo = {}, sDefaultTimeZone = '') {
Object.assign(this, asUserInfo);
this.timezone = Intl.DateTimeFormat().resolvedOptions().timeZone || this.timezone || sDefaultTimeZone;
}
hasClearance(sClearance) {
return this.clearance >= sClearance;
}
}