Skip to content

Commit 4693bd1

Browse files
committed
add some padding to seconds to incorporate UTC time
1 parent 08b20a7 commit 4693bd1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

geodepy/gnss.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ def set_creation_time():
129129
doy = '{:03d}'.format(doy)
130130
seconds = (now - now.replace(hour=0, minute=0, second=0, microsecond=0))\
131131
.total_seconds()
132-
seconds = '{:.0f}'.format(seconds)
132+
#seconds = '{:.0f}'.format(seconds)
133+
seconds = '{:05.0f}'.format(seconds)
133134
creation_time = year + ':' + doy + ':' + seconds
134135

135136
return creation_time

0 commit comments

Comments
 (0)