Skip to content

Commit

Permalink
Merge pull request #136 from MaxwellDPS/working
Browse files Browse the repository at this point in the history
Get TX start time via json Fixes #75
  • Loading branch information
MaxwellDPS authored Oct 9, 2021
2 parents 08b1e91 + 1f11d73 commit 54ce6c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions radio/management/commands/add_transmission.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ def add_new_trans(options):
t.play_length = end_ts - start_ts
if end_ts:
t.end_datetime = datetime.datetime.fromtimestamp(end_ts, pytz.UTC)
t.start_datetime = datetime.datetime.fromtimestamp(start_ts, pytz.UTC)
system = data.get('system', 0)
if system_opt >= 0:
system = system_opt # Command line overrides json
Expand Down

0 comments on commit 54ce6c7

Please sign in to comment.