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:
Lukas Fleischer
2012-05-17 21:59:49 +02:00
parent dec97c7c81
commit 6c11b8985c
5 changed files with 25 additions and 22 deletions

View File

@@ -33,7 +33,7 @@ general.progressbar=no
appearance.calendarview=0
# If this option is set to yes, monday is the first day of the week, else it is sunday
general.firstdayofweek=yes
general.firstdayofweek=monday
# This is the color theme used for menus :
appearance.theme=red on default