Saving inputs to browser storage
This commit is contained in:
15
README.md
15
README.md
@@ -1,7 +1,11 @@
|
||||
# `Daily Time Recording`
|
||||
# Daily Time Recording
|
||||
|
||||
Simple utility to calculate how much time you have left to record today.
|
||||
|
||||
The start time & duration are kept in browser storage. The recorded duration is also kept but cleared every day.
|
||||
|
||||
# Operation
|
||||
|
||||
Inputs:
|
||||
|
||||
- Start Time
|
||||
@@ -9,6 +13,9 @@ Inputs:
|
||||
- Break Duration
|
||||
- Break Taken Yes/No
|
||||
- Recorded Duration
|
||||
|
||||
Output:
|
||||
|
||||
- Remaining Duration
|
||||
|
||||
Calculation:
|
||||
@@ -21,8 +28,4 @@ Remaining = Now - Start - Break (if taken) - Recorded
|
||||
|
||||
- `npm run build` - Builds for production, emitting to `dist/`
|
||||
|
||||
- `npm run preview` - Starts a server at http://localhost:4173/ to test production build locally
|
||||
|
||||
# Todo
|
||||
|
||||
- Save start, target & break duration in browser storage
|
||||
- `npm run preview` - Starts a server at http://localhost:4173/ to test production build locally
|
||||
Reference in New Issue
Block a user