Skip to content

Commit

Permalink
fixing #2
Browse files Browse the repository at this point in the history
  • Loading branch information
iannesbitt committed Dec 1, 2019
1 parent d504aa4 commit 8dc5b94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rsudp/c_write.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ def elapse(self, new=False):
self.st = UTCDateTime.now()
self.y, self.m, self.d = self.st.year, self.st.month, self.st.day
self.j = self.st.strftime('%j')
self.newday = UTCDateTime(self.y, self.m, self.d + 1, 0, 0)
self.newday = UTCDateTime(self.y, self.m, self.d, 0, 0) + timedelta(days=1.1)
self.newday = UTCDateTime(self.newday.year, self.newday.month, self.newday.day, 0, 0)
if new:
self.last = self.newday
else:
Expand Down

0 comments on commit 8dc5b94

Please sign in to comment.