dudaodong
|
da84d95aa3
|
feat: add GenerateDatetimesBetween in datetime package
|
2024-09-09 11:35:17 +08:00 |
|
dudaodong
|
48244d6711
|
feat: add DaysBetween in datetime package
|
2024-09-09 10:55:18 +08:00 |
|
dudaodong
|
5e3337a52e
|
feat: add TrackFuncTime in datetime package
|
2024-09-06 15:51:56 +08:00 |
|
dudaodong
|
1c58ee23f1
|
feat: add Timestamp,TimestampMilli,TimestampMicro, TimestampNano
|
2023-07-26 17:28:15 +08:00 |
|
dudaodong
|
326e7881a6
|
feat: add NowDateOrTime
|
2023-07-26 15:03:59 +08:00 |
|
dudaodong
|
31e8b12674
|
feat: add timezone support for FormatTimeToStr and FormatStrToTime
|
2023-07-26 14:40:12 +08:00 |
|
dudaodong
|
ab364744b6
|
test: add parallel running for all unit test functions
|
2023-06-29 14:49:28 +08:00 |
|
dudaodong
|
bf50baa07d
|
feat: add GetTodayStartTime and GetTodayEndTime
|
2023-06-29 11:03:28 +08:00 |
|
hhhhhxm
|
69b32fd043
|
新增判断是否是周末的方法 (#105)
* 新增判断是否是周末的方法
* 新增判断是否是周末的方法
---------
Co-authored-by: huangxingming <huangxingming@kezaihui.com>
|
2023-05-31 17:05:20 +08:00 |
|
dudaodong
|
09ec5b97a6
|
doc: add doc for DayOfYear
|
2023-05-31 10:04:59 +08:00 |
|
hhhhhxm
|
46ecb117a5
|
增加判断某个日期是一年当中的第几天的方法 (#103)
* 增加判断某个日期是一年当中的第几天的方法
* 修改下函数名字
---------
Co-authored-by: huangxingming <huangxingming@kezaihui.com>
|
2023-05-31 09:54:23 +08:00 |
|
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
|
ba4485d8c0
|
merge main
|
2023-05-18 10:32:36 +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
|
bc0ee08f38
|
test&doc: add example and update doc for datetime package
|
2023-01-08 20:16:04 +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
|
3254591ab9
|
publish lancet
|
2021-11-28 21:28:23 +08:00 |
|