forked from extern/nushell
Add into duration
(#4683)
* Add `into duration` command * Avoid using unwrap() * Use existing logic to parse duration strings
This commit is contained in:
@ -279,6 +279,7 @@ pub fn create_default_context(cwd: impl AsRef<Path>) -> EngineState {
|
||||
IntoBinary,
|
||||
IntoDatetime,
|
||||
IntoDecimal,
|
||||
IntoDuration,
|
||||
IntoFilesize,
|
||||
IntoInt,
|
||||
IntoString,
|
||||
|
Reference in New Issue
Block a user