Compare commits

...

2 commits

Author SHA1 Message Date
41d9b68fe7
remove commented out code 2024-09-25 14:47:55 -05:00
77726c4b16
change time helpers 2024-09-25 14:47:55 -05:00
3 changed files with 7 additions and 5 deletions

View file

@ -90,4 +90,3 @@ task lexidInc, "bump lexigraphic id":
task _,"_______________": task _,"_______________":
discard discard
# switch("path","$nim")

View file

@ -19,10 +19,9 @@ alias mkrt='make -C $(git rev-parse --show-toplevel)'
alias mk="make" alias mk="make"
alias mkc="make -C" alias mkc="make -C"
alias yyyymmdd='date +%Y%m%d' # alias yyyymmdd='date +%Y%m%d'
alias ds='date +%Y-%m-%d' # alias ds='date +%Y-%m-%d'
alias ts='date +%Y-%m-%dT%H:%M:%SZ' alias timestamp='date +%Y-%m-%dT%H:%M:%SZ'
alias today="date +'%Y.%m.%d'"
# url encode/decode # url encode/decode
alias urldecode='python3 -c "import sys, urllib.parse as ul; \ alias urldecode='python3 -c "import sys, urllib.parse as ul; \

View file

@ -0,0 +1,4 @@
#!/usr/bin/env zsh
local sep=${1:-}
date "+%Y${sep}%m${sep}%d"