calcul des heures
This commit is contained in:
@ -68,6 +68,10 @@ def save_config(cfg: dict):
|
||||
CONFIG_FILE.write_text(json.dumps(cfg, indent=2, ensure_ascii=False))
|
||||
|
||||
|
||||
def heures_jour_min() -> int:
|
||||
return int(float(load_config().get("heures_jour", 7.8)) * 60)
|
||||
|
||||
|
||||
# ── Pointages ─────────────────────────────────────────────────────────────────
|
||||
|
||||
def _week_file(user_id: str, year: int, week: int) -> Path:
|
||||
|
||||
Reference in New Issue
Block a user