Format using strftime(). Example: "%d/%m/%Y, %H:%M:%S" For a list of supported format codes, see the documentation: https://docs.python.org/3/library/datetime.html#format-codes
(self, format)
| 1109 | self._day, self._year) |
| 1110 | |
| 1111 | def strftime(self, format): |
| 1112 | """ |
| 1113 | Format using strftime(). |
| 1114 | |
| 1115 | Example: "%d/%m/%Y, %H:%M:%S" |
| 1116 | For a list of supported format codes, see the documentation: |
| 1117 | https://docs.python.org/3/library/datetime.html#format-codes |
| 1118 | """ |
| 1119 | return _wrap_strftime(self, format, self.timetuple()) |
| 1120 | |
| 1121 | def __format__(self, fmt): |
| 1122 | if not isinstance(fmt, str): |
no test coverage detected