calcul des heures

This commit is contained in:
Antoine
2026-07-17 23:51:32 +02:00
parent 12666e73f4
commit 5e9d974875
4 changed files with 62 additions and 5 deletions

View File

@ -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: