diff --git a/config.yaml.example b/config.yaml.example index e2311be..53557af 100644 --- a/config.yaml.example +++ b/config.yaml.example @@ -1,5 +1,8 @@ # Default configuration for Stop… Camping Time! +# Time resolution in minutes +#time_resolution: 1 + # The default hourly rate #hourly_rate: 20.0 diff --git a/stoptime.rb b/stoptime.rb index e8c1444..845e770 100644 --- a/stoptime.rb +++ b/stoptime.rb @@ -144,6 +144,7 @@ module StopTime::Models DefaultConfig = { "invoice_id" => "%Y%N", "invoice_template" => "invoice", "hourly_rate" => 20.0, + "time_resolution" => 1, "vat_rate" => 21.0 } # Creates a new configuration object and loads the configuation.