samvera / rubydora

Fedora Commons version 3 REST API ruby library
Other
27 stars 17 forks source link

Ensure datastream timestamp is valid before using it. #74

Closed jcoyne closed 10 years ago

jcoyne commented 10 years ago

A datastream may not be saved (e.g. callback returns false) in which case its dsCreateDate is nil. Don't try to parse a time out of the nil value.