Closed taldcroft closed 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.
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.
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.