Saturday, May 31, 2008
the week starts on monday!
I've made a little progress on my program today, but it has been accompanied by frustration. I can't get the GTK calendar widget to start the weeks on Monday. It decides whether to start on Monday or Sunday based on your "locale," which is set operating system wide. There doesn't seem room for the "I live in the US but I want my running calendar to start on Monday" types.
Anyway, I've added the "Week of xxxx" at the top and linked it to the calendar widget, so the "week of" changes with selected day in the calendar. The left and right arrow buttons also work.
The careful observer will note the log entry doesn't match the selected week. I haven't implemented that yet.
By the way, I've used the option to show the week of the year on the left of the calendar. It's kind of cluttered looking, but I think it might be helpful for runners in figuring weeks to go, etc. What do you think? Keep it or remove it?