Leave Time Calculator
A Raycast extension that calculates your leaving time and remaining work hours by simply entering your arrival time.
โจ Features
- ๐
Save Today's Arrival Time - Set it once and see your leaving time all day long
- โฐ Real-time Remaining Time Display - Dynamically shows "โ hours โ minutes left" in the command list
- โฑ๏ธ Overtime Display - After the scheduled leave time, shows "โ hours โ minutes overtime"
- โ๏ธ Custom Time Input - Enter any time like
9:21 in the search bar
- ๐ Night Shift Support - Correctly calculates shifts that span across midnight
๐ธ Screenshots
๐ How to Use
- Open the extension in Raycast
- Select arrival time from the list (or enter a custom time)
- Your leaving time and remaining hours will be displayed in "Today's Schedule" at the top
- Automatically resets when the date changes
โ๏ธ Settings
| Setting | Description | Default |
|---|
| Default Work Hours | Work hours per day | 8 hours |
| Default Break Minutes | Break time | 60 minutes |
๐ ๏ธ Development
# Install dependencies
npm install
# Development mode
npm run dev
# Run tests
npm run test
# Lint
npm run lint
# Lint & auto-fix
npm run fix-lint
# Build
npm run build
๐ License
MIT