Format datetime object for human friendly representation.
(dt)
| 33 | |
| 34 | |
| 35 | def format_dt(dt): |
| 36 | """ |
| 37 | Format datetime object for human friendly representation. |
| 38 | """ |
| 39 | value = dt.strftime("%a, %d %b %Y %H:%M:%S %Z") |
| 40 | return value |
| 41 | |
| 42 | |
| 43 | def format_isodate(value, timezone=None): |
no outgoing calls