mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-07-30 13:47:46 +00:00
fix(gh): list my stars wrong sorting (52 seconds ago) <Francesc Elies> (#1110)
github stars listing was wrong because humanized date strings were being sorted instead datetime objects. Ref. https://github.com/nushell/nu_scripts/pull/1109#discussion_r2070528888
This commit is contained in:
parent
9ec598c72a
commit
5e732dadb0
1 changed files with 1 additions and 1 deletions
|
@ -600,5 +600,5 @@ export def "gh my stars" [] {
|
|||
break
|
||||
}
|
||||
}
|
||||
$stars | flatten | update cells --columns [starredAt] {$in| date humanize} | sort-by starredAt
|
||||
$stars | flatten | update cells --columns [starredAt] { $in | into datetime } | sort-by starredAt
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue