Return formatted timezone offset (+xx:xx) or an empty string.
(self)
| 1588 | # Conversion to string |
| 1589 | |
| 1590 | def _tzstr(self): |
| 1591 | """Return formatted timezone offset (+xx:xx) or an empty string.""" |
| 1592 | off = self.utcoffset() |
| 1593 | return _format_offset(off) |
| 1594 | |
| 1595 | def __repr__(self): |
| 1596 | """Convert to formal string, for repr().""" |
no test coverage detected