(val)
| 66 | return val.isoformat(" ") |
| 67 | |
| 68 | def convert_date(val): |
| 69 | warn(msg.format(what="date converter"), DeprecationWarning, stacklevel=2) |
| 70 | return datetime.date(*map(int, val.split(b"-"))) |
| 71 | |
| 72 | def convert_timestamp(val): |
| 73 | warn(msg.format(what="timestamp converter"), DeprecationWarning, stacklevel=2) |