1 Star 1 Fork 1

up-zero/gotool

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
time_test.go 308 Bytes
一键复制 编辑 原始数据 按行查看 历史
GetcharZp 提交于 2023-08-18 09:45 +08:00 . feat time
package gotool
import (
"testing"
)
func TestRFC3339ToNormalTime(t *testing.T) {
rfc3339Time := "2023-08-17T14:30:00+08:00"
t.Log(RFC3339ToNormalTime(rfc3339Time))
}
func TestRFC1123ToNormalTime(t *testing.T) {
rfc1123Time := "Mon, 02 Jan 2006 15:04:05 MST"
t.Log(RFC1123ToNormalTime(rfc1123Time))
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/up-zero/gotool.git
git@gitee.com:up-zero/gotool.git
up-zero
gotool
gotool
main

搜索帮助