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

Fix problem initing with ISO within 2015 leap second; remove astropy #17

Closed taldcroft closed 9 years ago

taldcroft commented 9 years ago

This problem would be fixed by installing astropy >= 1.0.3, but it's cleaner to just use regex to determine if an input is an ISO-format date.

taldcroft commented 9 years ago

Lacking a firm reason otherwise, I'm merging this. This is effectively the same input validation/parsing that astropy.time uses, without the overhead of actually creating a Time object.