dudaodong
|
6fbaf2b005
|
refactor: update TestBetweenSeconds and ExampleBetweenSeconds
|
2023-05-30 17:44:28 +08:00 |
|
tlei995
|
a51a182fb2
|
feat:add betweenSeconds func (#102)
Co-authored-by: leitao <leitao@kezaihui.com>
|
2023-05-30 17:37:29 +08:00 |
|
燕归来
|
a33ea3d013
|
fix: timeFormat["yyyy-mm-dd hh"] should be "2006-01-02 15" (#99) (#100)
* fix: timeFormat["yyyy-mm-dd hh"] should be "2006-01-02 15" (#99)
* test: add use cases for FormatTimeToStr
|
2023-05-29 20:08:17 +08:00 |
|
dudaodong
|
259dbce85e
|
doc: add go playground demo
|
2023-05-19 11:42:17 +08:00 |
|
dudaodong
|
ba4485d8c0
|
merge main
|
2023-05-18 10:32:36 +08:00 |
|
dudaodong
|
8a1dd40738
|
doc: add doc for AddYear function
|
2023-05-18 10:27:37 +08:00 |
|
tlei995
|
aa8e0d5c12
|
feat:add AddYear func (#96)
Co-authored-by: leitao <leitao@kezaihui.com>
|
2023-05-18 10:14:23 +08:00 |
|
dudaodong
|
945c59896b
|
feat: add IsLeapYear
|
2023-04-28 14:42:25 +08:00 |
|
dudaodong
|
99cb1b13a3
|
test: remove unstable test item
|
2023-04-26 18:14:27 +08:00 |
|
dudaodong
|
4311b9ac66
|
test: remove t.Log()
|
2023-04-26 14:59:45 +08:00 |
|
dudaodong
|
bce3641ec6
|
fix: fix example function bug in datetime package
|
2023-01-08 21:04:39 +08:00 |
|
dudaodong
|
ceb134b2fd
|
fix: fix example function bug in datetime package
|
2023-01-08 21:01:05 +08:00 |
|
dudaodong
|
bc0ee08f38
|
test&doc: add example and update doc for datetime package
|
2023-01-08 20:16:04 +08:00 |
|
CyJaySong
|
4edefcca67
|
expand BeginOfWeek、EndOfWeek (#59)
|
2022-10-10 15:44:22 +08:00 |
|
dudaodong
|
aa0afa8d94
|
release v1.2.7
|
2022-03-29 11:01:06 +08:00 |
|
dudaodong
|
3ae4a35d04
|
fix: format timezone issue
|
2022-03-19 19:24:28 +08:00 |
|
dudaodong
|
89ea0ee15a
|
fix: format timezone issue
|
2022-03-19 19:08:34 +08:00 |
|
dudaodong
|
85399e23ed
|
fix: format timezone issue
|
2022-03-19 18:42:22 +08:00 |
|
dudaodong
|
19a6f218e6
|
fix: format time in local timezone
|
2022-03-19 18:23:06 +08:00 |
|
dudaodong
|
ccaf290b63
|
docs: add doc for datetime/conversion.go
|
2022-03-18 18:18:28 +08:00 |
|
dudaodong
|
54745d512c
|
test: add unit test and func comment for time conversion
|
2022-03-18 17:48:57 +08:00 |
|
wangxudong123
|
d8a982bf07
|
增加时间转换 (#25)
Co-authored-by: wangxd01 <wangxd01@mingyuanyun.com>
|
2022-03-17 19:44:24 +08:00 |
|
dudaodong
|
50c6e51393
|
upgrade go module v2
|
2022-03-17 10:57:35 +08:00 |
|
dudaodong
|
eeadb1fecb
|
feat: add funcs for get begin and end time for year, month, week, day, hour, minute
|
2022-02-15 16:07:59 +08:00 |
|
dudaodong
|
9cb9aa2f2f
|
refactor: rewrite all unit test functions with assert
|
2022-01-09 14:46:17 +08:00 |
|
dudaodong
|
c625a88067
|
refactor: rename package 'utils' to 'internal'
|
2021-12-31 11:36:11 +08:00 |
|
donutloop
|
0b0eb695e8
|
datetime: optimized func calls (#7)
Replace time parsing calls with less expensive operations
|
2021-12-30 10:29:10 +08:00 |
|
dudaodong
|
0c4b512084
|
fmt: fix some gofmt issue
|
2021-11-29 13:01:46 +08:00 |
|
dudaodong
|
3254591ab9
|
publish lancet
|
2021-11-28 21:28:23 +08:00 |
|