Browse Source

Format UTC time to %H:%M

Foppe Hemminga 6 years ago
parent
commit
4dd2f217ed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      model.py

+ 1 - 1
model.py

@@ -126,7 +126,7 @@ def send_messages(scratches, source, start=0):
                                         m.venue,
                                         m.race,
                                         m.time,
-                                        m.utc,
+                                        m.utc.strftime('%H:%M'),
                                         '{} {}'.format(m.horse_no, m.horse_display_name),
                                         ' | {0:.2f}s'.format(end-start) if start != 0 else '')
         print('this_message: {}'.format(message))