Time to Leave is a cross-platform Electron desktop application for tracking work hours and calculating when it is time to leave. The code implements a classic Electron main-process/renderer split: main-process modules handle window creation, menus, system tray, native notifications, update checks, import/export, and persistent JSON storage via electron-store, while renderer windows provide the calendar, preferences, and workday-waiver UIs. Users can record punch in/out times, manage waived workdays and holidays, view day and month calendar breakdowns, and receive notifications when their calculated leave time arrives. All data is stored locally, with optional export/import through a .ttldb JSON format that is schema-validated on import.