pretty-time-zsh:将秒转换为人类可读的字符串

时间:2024-06-14 22:25:35
【文件属性】:

文件名称:pretty-time-zsh:将秒转换为人类可读的字符串

文件大小:4KB

文件格式:ZIP

更新时间:2024-06-14 22:25:35

Shell

漂亮的时光 将秒转换为人类可读的字符串: 165392 → 1d 21h 56m 32s 安装 使用npm或Antigen进行安装,克隆此存储库,或仅下载文件。 用npm安装 $ npm install pretty-time-zsh 与Antigen一起安装 $ antigen bundle sindresorhus/pretty-time-zsh 用Zgen安装 添加zgen load sindresorhus/pretty-time-zsh你的.zshrc和运行zgen reset 。 用法 $ date +%s 1407771536 $ ./node_modules/pretty-time-zsh/pretty-time.zsh 165392 1d 21h 56m 32s # seconds since epoch - yesterday since epoch + 11111


【文件预览】:
pretty-time-zsh-main
----package.json(782B)
----readme.md(1KB)
----.github()
--------workflows()
----license(1KB)
----pretty-time.zsh(445B)
----pretty-time(15B)
----.editorconfig(190B)
----pretty-time.plugin.zsh(44B)
----.gitattributes(12B)

网友评论