Add output for lunch break duration and rework config lunch option
This commit is contained in:
parent
29ded9426b
commit
71e8352ecf
7 changed files with 31 additions and 30 deletions
|
@ -8,6 +8,10 @@
|
|||
},
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"lunchBreakDuration": {
|
||||
"type": "string",
|
||||
"description": "Remove or set as \"00:00\" if you don't have an unpaid lunch break or if you normally log your lunch break hours"
|
||||
},
|
||||
"language": {
|
||||
"$ref": "#/definitions/language",
|
||||
"description": "The language of the application. Currently supported languages are 'en', 'fi'"
|
||||
|
@ -19,10 +23,6 @@
|
|||
"defaults": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"lunchBreakDuration": {
|
||||
"type": "string",
|
||||
"description": "Set as \"00:00\" if you don't have an unpaid lunch break or if you normally log your lunch break hours"
|
||||
},
|
||||
"workDayDuration": { "type": "string", "description": "Your work day duration" },
|
||||
"startTime": { "type": "string", "description": "The time you start working" },
|
||||
"stopTime": {
|
||||
|
|
|
@ -8,6 +8,10 @@
|
|||
# usually ~/.config/wtc/config.toml
|
||||
# For windows, I don't know.
|
||||
|
||||
# Remove or set as "00:00" if you don't have an unpaid lunch break
|
||||
# or if you normally log your lunch break hours
|
||||
lunchBreakDuration = "00:30"
|
||||
|
||||
# The language of the application.
|
||||
# Currently supported languages are "en", "fi"
|
||||
language = "en"
|
||||
|
@ -20,10 +24,6 @@ timestampFormat = "YYYY-MM-DD HH:mm"
|
|||
# This section is for default values for inputs
|
||||
[defaults]
|
||||
|
||||
# Set as "00:00" if you don't have an unpaid lunch break
|
||||
# or if you normally log your lunch break hours
|
||||
lunchBreakDuration = "00:30"
|
||||
|
||||
# Your work day duration
|
||||
workDayDuration = "07:30"
|
||||
|
||||
|
@ -41,6 +41,3 @@ workDayDuration = true
|
|||
startTime = true
|
||||
stopTime = true
|
||||
logged = true
|
||||
|
||||
# It is assumed that you didn't have lunch if this is false
|
||||
hadLunch = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue