• + 1 comment

    Could someone explain why the firstweekday is 6 in the sample code?

    print calendar.TextCalendar(firstweekday=6).formatyear(2015)
    
    • + 0 comments

      0 is MOnday, 6 is Sunday