Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jepler committed Jan 30, 2021
1 parent 056cc84 commit 161136a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion iers2py.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def better(off0, off1):
print("dut1_data_start = %r" % start)
c = sorted(chr(ord("a") + ch + 10) for ch in set(offsets))
print("%s = '%s'" % (",".join(c), "".join(c)))
print("dut1_offsets = ( # %04d%02d%02d" % (start.year, start.month, start.day))
print("dut1_offsets = str( # %04d%02d%02d" % (start.year, start.month, start.day))
line = ""
now = start
j = 0
Expand Down
2 changes: 1 addition & 1 deletion iersdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
__all__ = ['dut1_data_start, dut1_offsets']
dut1_data_start = datetime.datetime(1973, 1, 2, 0, 0)
d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s = 'defghijklmnopqrs'
dut1_offsets = ( # 19730102
dut1_offsets = str( # 19730102
s*18+r*31+q*29+p*28+o*30+n*36+m*40+l*39+k*33+j*31+i*31+h*18 # 19740119
+r*19+q*38+p*32+o*31+n*33+m*48+l*45+k*37+j*33+i*34+h*15+r*22 # 19750225
+q*34+p*33+o*34+n*37+m*49+l*45+k*36+j*32+i*36+h*7+r*28+q*33 # 19760402
Expand Down

0 comments on commit 161136a

Please sign in to comment.