sot / chandra_time

Convert between various time formats relevant to Chandra.
https://sot.github.io/Chandra.Time
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Maybe the "day" relative times should have their own defined format? #27

Open jeanconn opened 7 years ago

jeanconn commented 7 years ago

Otherwise, one can get into trouble as soon as the conversion defaults to chandra secs

In [51]: DateTime(-1).date
Out[51]: '2017:243:20:39:54.653'

In [52]: DateTime(+1).date
Out[52]: '1997:365:23:58:57.816'