Browse Source

Format UTC time to %H:%M

Foppe Hemminga 6 năm trước cách đây
mục cha
commit
4dd2f217ed
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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))