Darren Schroeder

Results 2077 comments of Darren Schroeder

They have been added, removed, added, removed. I think they should stay but others think that since all months don't have the same number of days and that there are...

There are a couple points to consider. 1. durations are stored as nanoseconds 2. date math is a different thing Here's really what those mean. Any nanosecond can be broken...

Your datediff description is close to what's happening in this command ``` 2022-02-28 - 2000-02-28 | into duration --convert day ``` it's converting to days, the underlying crate, chrono, calculates...

I'm not sure what you're getting at. If you want sub-day precision there's no need to convert to days. You'd do something like this. ``` > 2000-03-02T18:00:00 - 2000-03-02T01:00:00 17hr...

Understood. Thanks for the explaination. This is close to "the traditional way" of how you'd do this, but you're right that it's a trick of converting dates to strings and...

> Hmm, I do think I could do something to help on interval arithmetic in both statistics and bookkeeping uses. Will get on discord to see what flies. I'm anxious...

> This bit me again today. Agreed. It happens to me on occasion too. I've changed this so many times, researched it so much that I'm kind of burnt out...

To quote Michael Jackson, who wants to "make that change"? 😆

I think I've narrowed it down to this line returning `None`. Now to figure out what to do about it. https://github.com/nushell/nushell/blob/f4bd78b86d441cd53fb6ff30d3a6423735a423cc/crates/nu-protocol/src/engine/stack.rs#L326-L327

> @fdncred What is the output of your `overlay list` at the time you're calling the `hide-env`? ``` ╭───┬──────╮ │ 0 │ zero │ ╰───┴──────╯ ```