Commit 7a661ac1 authored by Andrew Leonard's avatar Andrew Leonard
Browse files

Correct date converter for format returned by new database

parent efd5465d
......@@ -271,7 +271,7 @@ class KISClient(BaseClient):
"""
# Unit converters for 'description' fields
converters = {'ATMOS': lambda x: x * u.cm,
'DATE_': lambda x: Time(x['$date'] * 1e-3, format='unix'),
'DATE_': lambda x: Time(x),
'EXPTI': lambda x: x * u.s,
'HPLN_': lambda x: x * u.arcsec,
'HPLT_': lambda x: x * u.arcsec,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment