(obj, mapping=None)
| 112 | |
| 113 | |
| 114 | def escape_time(obj, mapping=None): |
| 115 | if obj.microsecond: |
| 116 | fmt = "'{0.hour:02}:{0.minute:02}:{0.second:02}.{0.microsecond:06}'" |
| 117 | else: |
| 118 | fmt = "'{0.hour:02}:{0.minute:02}:{0.second:02}'" |
| 119 | return fmt.format(obj) |
| 120 | |
| 121 | |
| 122 | def escape_datetime(obj, mapping=None): |
nothing calls this directly
no outgoing calls
no test coverage detected