CyJaySong
|
f4427b9fbc
|
BeginOfWeek,EndOfWeek 的beginFrom和endWith改为必传 (#300)
|
2025-03-31 10:18:50 +08:00 |
|
dudaodong
|
6dfdadd34e
|
doc: update for release v2.3.5
|
2025-03-07 14:19:07 +08:00 |
|
dudaodong
|
4181c42805
|
feat: add AddDaySafe, AddMonthSafe, AddYearSafe
|
2025-02-18 15:37:56 +08:00 |
|
dudaodong
|
a09f5623d6
|
feat: add AddWeek, AddMonth and update example of some add time functions
|
2025-02-18 14:10:04 +08:00 |
|
dudaodong
|
ecafed511c
|
doc: add play ground demo for v2.3.4
|
2024-12-04 14:25:51 +08:00 |
|
dudaodong
|
643edc1468
|
feat: add Max, Min, and MaxMin for datetime package
|
2024-11-07 15:47:22 +08:00 |
|
dudaodong
|
213e2b4ead
|
doc: add play ground demo
|
2024-10-09 16:56:56 +08:00 |
|
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 |
|
colorcrow
|
3482f80d1c
|
WriteCsvFile自定义分割符,增加map切片写入csv,增加追踪函数运行时间的函数 (#157)
* WriteCsvFile now support custom delimiter,Add write map slice to csv
* add trace func time
|
2024-01-01 16:54:04 +08:00 |
|
dudaodong
|
bb563724c7
|
doc: add go playground demo
|
2023-08-01 11:01:57 +08:00 |
|
dudaodong
|
1b0691f1d5
|
Merge branch 'main' into v2
|
2023-07-30 12:41:03 +08:00 |
|
CyJaySong
|
0b6a00bd99
|
IsWeekend func Deprecated (#123)
* expand BeginOfWeek、EndOfWeek
* IsWeekend func Deprecated
|
2023-07-30 12:39:26 +08:00 |
|
dudaodong
|
1c58ee23f1
|
feat: add Timestamp,TimestampMilli,TimestampMicro, TimestampNano
|
2023-07-26 17:28:15 +08:00 |
|
dudaodong
|
2a303d5e4b
|
doc: update format
|
2023-07-26 15:28:20 +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
|
154ec56780
|
doc: add go playground demo
|
2023-07-04 16:31:13 +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 |
|
dudaodong
|
cbf8cfdffa
|
doc: add go playground demo
|
2023-06-01 14:11:57 +08:00 |
|
dudaodong
|
10e3732f32
|
feat: add IsWeekend
|
2023-05-31 17:13:06 +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
|
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 |
|