Fix `Value#into_str` for `Time` variant
Implement `ToValue` and `FromValue` for `Duration`