Why does GtkCalendar counts months from 0?
- by int_ua
So I spent several hours in rage, figuring out why isn't my code writing to the /sys/class/rtc/rtc0/wakealarm correctly. The problem is that it doesn't return anything if the value is wrong. And finally I noticed this small
5
between the year and the day. Why isn't it counting days and years from zero for consistency?
For comparison: QCalendarWidget counts month from 1 to 12 (docs)
So GtkCalendar... F**k You!