(value)
| 249 | |
| 250 | |
| 251 | def _iso8601_format(value): |
| 252 | if value.tzinfo is not None: |
| 253 | # XML-RPC only uses the naive portion of the datetime |
| 254 | value = value.replace(tzinfo=None) |
| 255 | # XML-RPC doesn't use '-' separator in the date part |
| 256 | return value.isoformat(timespec='seconds').replace('-', '') |
| 257 | |
| 258 | |
| 259 | def _strftime(value): |
no test coverage detected
searching dependent graphs…