mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 06:37:46 +00:00
Merge pull request #46 from fdncred/twin_week_number_calc
add twin weeknum guess
This commit is contained in:
commit
d63c0ce73d
1 changed files with 3 additions and 2 deletions
|
@ -50,6 +50,7 @@ def do-work [] {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
build-string '# This week in Nushell #' $(char nl) $(char nl)
|
||||
# 2019-08-23 was the release of 0.2.0, the first public release
|
||||
let week_num = $(seq date -b '2019-08-23' -n 7 | length)
|
||||
build-string '# This week in Nushell #' $week_num $(char nl) $(char nl)
|
||||
do-work | str collect
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue