Extension Icon

Leave Time Calculator

Calculate your leave time based on start time and break duration
Overview

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

Image Image

πŸš€ How to Use

  1. Open the extension in Raycast
  2. Select arrival time from the list (or enter a custom time)
  3. Your leaving time and remaining hours will be displayed in "Today's Schedule" at the top
  4. Automatically resets when the date changes

βš™οΈ Settings

SettingDescriptionDefault
Default Work HoursWork hours per day8 hours
Default Break MinutesBreak time60 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