date_helper.py 244 B

1234567
  1. from datetime import datetime
  2. # I don't love this format, feel free to change (I just
  3. # extracted it from prior code).
  4. def format_date1(ts):
  5. """Nov 05 2019 at 02:51"""
  6. return datetime.utcfromtimestamp(ts).strftime("%b %d %Y at %H:%M")