Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port before_v0.60/config_management before_v0.60/language before_v0.60/prompt before_v0.60/tests #851

Merged
Prev Previous commit
export command from language/std/date.nu
- change `source` -> `use` in `tests/date`
  • Loading branch information
39555 committed May 26, 2024
commit 692b8f29127166386f057f699fc29f3f2f4c23d8
2 changes: 1 addition & 1 deletion modules/language/std/date.nu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
def "date local" [now] {
export def "date local" [now] {
insert time {|value|
let converted = ($now | date to-timezone $value.tz);

Expand Down
4 changes: 2 additions & 2 deletions modules/language/tests/date.nu
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
source ../playground/lib.nu
source ../std/date.nu
use ../playground *
use ../std/date.nu *

def mock-now [] {
"2021-08-29 03:31:21" | into datetime
Expand Down
Loading