gpstime 0.8.1__py3-none-any.whl → 0.8.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- gpstime/__init__.py +1 -2
- gpstime/__version__.py +2 -2
- {gpstime-0.8.1.dist-info → gpstime-0.8.2.dist-info}/METADATA +1 -1
- gpstime-0.8.2.dist-info/RECORD +12 -0
- {gpstime-0.8.1.dist-info → gpstime-0.8.2.dist-info}/WHEEL +1 -1
- gpstime-0.8.1.dist-info/RECORD +0 -12
- {gpstime-0.8.1.data → gpstime-0.8.2.data}/scripts/gpstime +0 -0
- {gpstime-0.8.1.dist-info → gpstime-0.8.2.dist-info}/COPYING +0 -0
- {gpstime-0.8.1.dist-info → gpstime-0.8.2.dist-info}/COPYING-GPL-3 +0 -0
- {gpstime-0.8.1.dist-info → gpstime-0.8.2.dist-info}/top_level.txt +0 -0
gpstime/__init__.py
CHANGED
|
@@ -151,8 +151,7 @@ class gpstime(datetime):
|
|
|
151
151
|
@classmethod
|
|
152
152
|
def fromgps(cls, gps):
|
|
153
153
|
"""Return gpstime object corresponding to GPS time."""
|
|
154
|
-
|
|
155
|
-
return gt.replace(tzinfo=tzutc())
|
|
154
|
+
return cls.fromtimestamp(gps2unix(gps), tz=tzutc())
|
|
156
155
|
|
|
157
156
|
@classmethod
|
|
158
157
|
def parse(cls, string='now'):
|
gpstime/__version__.py
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
gpstime/__init__.py,sha256=mvvNkbLXi2Ego2INs97qUZz4vmmuo5WZ55IlYiOhwIc,6950
|
|
2
|
+
gpstime/__main__.py,sha256=_sCWDDruEWZOrkorMeQkOwIVcWAOfzA5VSuTpuG3iNs,2628
|
|
3
|
+
gpstime/__version__.py,sha256=t6tJJG56wlBKsg_0M1Q4l1ir09jgXRw1tolMbDalW9g,411
|
|
4
|
+
gpstime/leaps.py,sha256=yc8rjaF8fqvrL1ytNffj2PbibyW-J0BPpmI7oOPJn4I,7842
|
|
5
|
+
gpstime/test.py,sha256=74rbEBOnQIEhE96VPiTZqekbwRoumeNqgj3rXHILGpw,7010
|
|
6
|
+
gpstime-0.8.2.data/scripts/gpstime,sha256=R2M1Xg02MAqpiPWxuOoSYr3S8zk7aPtfeHBmMG-1jMo,183
|
|
7
|
+
gpstime-0.8.2.dist-info/COPYING,sha256=kD3Y57xS042kgHR4KTOzNOiOHLxiOtxwe2gomX6l0cM,1724
|
|
8
|
+
gpstime-0.8.2.dist-info/COPYING-GPL-3,sha256=_ILKi2_bGNTj6Fz9irWNG80_Gymr54KJWr2R1kdj-Oc,35068
|
|
9
|
+
gpstime-0.8.2.dist-info/METADATA,sha256=9gLonvhIzkqc5GRV98P9Q62fCiwLXwQbHGGdXXlAOfI,1566
|
|
10
|
+
gpstime-0.8.2.dist-info/WHEEL,sha256=Z4pYXqR_rTB7OWNDYFOm1qRk0RX6GFP2o8LgvP453Hk,91
|
|
11
|
+
gpstime-0.8.2.dist-info/top_level.txt,sha256=LJlZJoesrJMc-u-T2IuSXd6udNzp1TaVD6aJa5Zwj54,8
|
|
12
|
+
gpstime-0.8.2.dist-info/RECORD,,
|
gpstime-0.8.1.dist-info/RECORD
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
gpstime/__init__.py,sha256=bCd7qlozgD22hO20eFvfUqP4_tH9iyH98ilpR8rnUeE,6981
|
|
2
|
-
gpstime/__main__.py,sha256=_sCWDDruEWZOrkorMeQkOwIVcWAOfzA5VSuTpuG3iNs,2628
|
|
3
|
-
gpstime/__version__.py,sha256=Z8fNqmfsoA07nbVEewR90wZCgaN6eyDwPwgtgc2KIak,411
|
|
4
|
-
gpstime/leaps.py,sha256=yc8rjaF8fqvrL1ytNffj2PbibyW-J0BPpmI7oOPJn4I,7842
|
|
5
|
-
gpstime/test.py,sha256=74rbEBOnQIEhE96VPiTZqekbwRoumeNqgj3rXHILGpw,7010
|
|
6
|
-
gpstime-0.8.1.data/scripts/gpstime,sha256=R2M1Xg02MAqpiPWxuOoSYr3S8zk7aPtfeHBmMG-1jMo,183
|
|
7
|
-
gpstime-0.8.1.dist-info/COPYING,sha256=kD3Y57xS042kgHR4KTOzNOiOHLxiOtxwe2gomX6l0cM,1724
|
|
8
|
-
gpstime-0.8.1.dist-info/COPYING-GPL-3,sha256=_ILKi2_bGNTj6Fz9irWNG80_Gymr54KJWr2R1kdj-Oc,35068
|
|
9
|
-
gpstime-0.8.1.dist-info/METADATA,sha256=KCkw7bLyAsVWI_kgU8AkvkPbztBlw4t9y34iOqqhUYs,1566
|
|
10
|
-
gpstime-0.8.1.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
|
|
11
|
-
gpstime-0.8.1.dist-info/top_level.txt,sha256=LJlZJoesrJMc-u-T2IuSXd6udNzp1TaVD6aJa5Zwj54,8
|
|
12
|
-
gpstime-0.8.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|