Extension Icon

Leave Time Calculator

Calculate your leave time based on start time and break duration
Avatarharunonsystem
18 Installs
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