Fix data type of "general.firstdayofweek"
This option wasn't converted to a proper data type when it was renamed from "week_begins_on_monday" to "general.firstdayofweek". Convert the boolean option into an enumeration type that can take the values "monday" and "sunday". Also, update the documentation, add a conversion rule to the upgrade script and convert the configuration file used in the test suite. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
@@ -756,11 +756,10 @@ These options control `calcurse` general behavior, as described below:
|
||||
If set to `0`, the monthly calendar view will be displayed by default
|
||||
otherwise it is the weekly view that will be displayed.
|
||||
|
||||
`general.firstdayofweek` (default: *yes*)::
|
||||
One can choose between Monday and Sunday as the first day of the week. If the
|
||||
option `general.firstdayofweek` is set to *yes*, Monday will be first in the
|
||||
calendar view. Else if the option is set to *no*, then Sunday will be the
|
||||
first day of the week.
|
||||
`general.firstdayofweek` (default: *monday*)::
|
||||
One can choose between Monday and Sunday as the first day of the week. If
|
||||
`general.firstdayofweek` is set to *monday*, Monday will be first in the
|
||||
calendar view. Otherwise, Sunday will be the first day of the week.
|
||||
|
||||
`format.outputdate` (default: *%D*)::
|
||||
This option indicates the format to be used when displaying dates in
|
||||
|
||||
Reference in New Issue
Block a user