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?

2 comments:

MN Ultra Runner said...

I think that's a great idea Greg. The other option I've requested from my current online log is the ability to graph a moving 7 day mileage total. Can your program do that? I'd like to start using that number instead of weekly mileage.

By the way, thanks for the optimistic prediction. I wouldn't count on seeing 80 miles but we'll see what happens.

Greg said...

Thanks, Adam. This is just the kind of feedback I was hoping for. I haven't started implementing charts yet, but the moving average is definitely a good idea. This is something I've wanted myself. I've added it to my todo list.