Returns a formatted week day name.
(self, day, width)
| 356 | return ' '.join(self.formatday(d, wd, width) for (d, wd) in theweek) |
| 357 | |
| 358 | def formatweekday(self, day, width): |
| 359 | """ |
| 360 | Returns a formatted week day name. |
| 361 | """ |
| 362 | if width >= 9: |
| 363 | names = day_name |
| 364 | else: |
| 365 | names = day_abbr |
| 366 | return names[day][:width].center(width) |
| 367 | |
| 368 | def formatweekheader(self, width): |
| 369 | """ |
no test coverage detected