Commit 6ed37fe8 authored by Julien Osman's avatar Julien Osman

FIX: Read dates without final Zulu

parent 3cd0f3e5
......@@ -181,7 +181,7 @@ std::istream& operator>>(std::istream& is, Time& val)
val.frac_sec = sec - (double) val.tm_sec;
_OTB_ISTREAM_FAIL_IF( val.tm_sec < 0 || val.tm_sec > 60 )
_OTB_ISTREAM_FAIL_IF( val.frac_sec < 0.0 || val.frac_sec >= 1.0)
_OTB_ISTREAM_FAIL_IF( is.get() != 'Z' )
//_OTB_ISTREAM_FAIL_IF( is.get() != 'Z' )
return is;
}
......
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