Commit Graph

34 Commits

Author SHA1 Message Date
Peleus
ff4171a00c v2.4.1 2024-10-17 15:15:30 +08:00
Peleus
3dae1b6fc3 c.IsInvalid() -> c.Error != nil 2024-04-09 20:13:50 +08:00
Peleus
a08087e583 更新注释信息 2024-03-06 09:26:51 +08:00
Peleus
20f486a8ac ToStdTime->StdTime 2024-02-01 11:24:43 +08:00
Peleus
fdd8acefa1 ClearTestNow->UnSetTestNow
`HasTestNow`->`IsSetTestNow`
2023-12-27 11:14:52 +08:00
Peleus
35cc193de5 增加是否是测试时间的判断 2023-10-16 14:06:45 +08:00
Peleus
5033c8ea57 c.time.In(c.loc->c.ToStdTime() 2023-09-06 14:34:51 +08:00
gouguoyin
953408d885 Carbon2Time()->time.In(c.loc) 2023-01-07 21:50:09 +08:00
gouguoyin
494da34ecb 2.1.6 移除 TimestampWithXXX() 等系列方法 2022-05-07 09:18:38 +08:00
gouguoyin
7d29a6b718 2.1.5 新增 DateMilli(),DateMicro(),DateNano(),TimeMilli(),TimeMicro() 等方法 2022-05-01 09:11:22 +08:00
gouguoyin
ef11b0a715 2.1.5 新增 DateMilli(),DateMicro(),DateNano(),TimeMilli(),TimeMicro() 等方法 2022-05-01 09:11:14 +08:00
gouguoyin
4339b55299 1.6.5 新增DateXXX()、TimeXXX() 等方法 2022-05-01 09:06:28 +08:00
gouguoyin
7a5a3bdd51 v2.1.3 unified import format 2022-04-24 22:14:51 +08:00
gouguoyin
17d7ef6495 v2.1.3 c.time.In(c.loc)->c.Carbon2Time()
新增DateXXX()、TimeXXX()方法
2022-04-21 15:07:03 +08:00
gouguoyin
76004a4aff 优化代码 2022-04-17 19:51:07 +08:00
gouguoyin@juzifenqi.com
d6c6c20913 update comment 2022-04-14 11:32:01 +08:00
gouguoyin@juzifenqi.com
a2299c4068 精简代码,新增DateTime()、Time() 2022-04-12 17:33:42 +08:00
gouguoyin
3e460cfbcb update comment 2021-09-10 14:06:53 +08:00
gouguoyin
3ce07a205d The public field Tme in the carbon structure is changed to private field time 2021-09-06 11:09:48 +08:00
gouguoyin
25a24590ad add Timestamp、TimestampWithSecond、TimestampWithMillisecond、TimestampWithMicrosecond、TimestampWithNanosecond method 2021-08-16 09:36:04 +08:00
gouguoyin
97b8a3ad09 update comment 2021-08-10 10:58:43 +08:00
gouguoyin
4a806e7144 optimize the code 2021-08-05 13:40:40 +02:00
gouguoyin
e27aba6d0f remove useless comment 2021-08-02 10:24:59 +08:00
gouguoyin
2d03d93d42 修复WeekOfMonth的错误 2021-07-31 13:02:31 +08:00
gouguoyin
8a34fc69ec add English comment 2021-07-28 15:18:05 +08:00
gouguoyin
d78cffd24a 修复WeekOfMonth()计算的错误 2021-07-28 09:22:11 +08:00
gouguoyin
1f8d83cb44 增加对无效时间的判断 2021-07-23 11:01:00 +08:00
gouguoyin
69674aa89f 精简代码 2021-07-19 09:52:03 +08:00
gouguoyin
a0892e8bf1 新增Decade()方法获取当前年代 2021-07-09 15:13:13 +08:00
gouguoyin
0ffa80f515 优化代码 2021-04-04 22:45:53 +08:00
gouguoyin
d2cf6b2c48 新增获取当前世纪数的方法Century() 2021-03-03 11:38:50 +08:00
gouguoyin
ed392fc388 v1.3.3 2021-02-23 09:32:55 +08:00
gouguoyin
4065b8b33e 方法注释 2021-02-18 15:43:44 +08:00
gouguoyin
d3f0aec069 v1.3.2按照功能拆分文件 2021-02-18 14:32:31 +08:00