Return formatted timezone offset (+xx:xx) or an empty string.
(self)
| 1568 | # Conversion to string |
| 1569 | |
| 1570 | def _tzstr(self): |
| 1571 | """Return formatted timezone offset (+xx:xx) or an empty string.""" |
| 1572 | off = self.utcoffset() |
| 1573 | return _format_offset(off) |
| 1574 | |
| 1575 | def __repr__(self): |
| 1576 | """Convert to formal string, for repr().""" |
no test coverage detected