Skip to content

Commit

Permalink
update examples
Browse files Browse the repository at this point in the history
strange result with working_with_lists.md_intermed.nu
  • Loading branch information
maxim-uvarov committed Aug 25, 2024
1 parent 1b2052e commit 9eb851d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ Input/output types:
╰──────────────────name───────────────────┴─type─╯
> sys host | get boot_time
Thu, 8 Aug 2024 10:04:12 +0000 (2 weeks ago)
Thu, 22 Aug 2024 11:02:48 +0000 (2 days ago)
> 2 + 2
4
Expand Down
2 changes: 1 addition & 1 deletion numd/nu-utils/numd-internals.nu
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ export def --env load-config [
# Generate a timestamp string in the format YYYYMMDD_HHMMSS.
#
# > generate-timestamp
# 20240824_110937
# 20240825_091300
export def generate-timestamp []: nothing -> string {
date now | format date "%Y%m%d_%H%M%S"
}
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ $colors | where ($it | str ends-with 'e')

let colors = [red orange yellow green blue purple]
$colors | where ($it | str ends-with 'e')
# The block passed to `where` must evaluate to a boolean. | table | print; print ''
# The block passed to `where` must evaluate to a boolean.

"```" | print

Expand Down

0 comments on commit 9eb851d

Please sign in to comment.