Commit Graph

26 Commits

Author SHA1 Message Date
Peleus
fdd8acefa1 ClearTestNow->UnSetTestNow
`HasTestNow`->`IsSetTestNow`
2023-12-27 11:14:52 +08:00
Peleus
e2aacac42f 修复 DiffInMonths 方法计算错误的 bug 2023-12-22 16:07:00 +08:00
Peleus
0016152ff1 timezone[len(timezone)-1] -> timezone[0] 2023-11-30 15:06:56 +08:00
Peleus
35cc193de5 增加是否是测试时间的判断 2023-10-16 14:06:45 +08:00
Peleus
4f7b402a16 修复年龄计算错误的 bug 2023-10-09 09:47:53 +08:00
Peleus
4f3c5478ba 移除调试打印信息 2023-09-08 18:03:45 +08:00
Peleus
b0f2d65f75 修复 DiffInYears 计算错误的 bug 2023-09-06 23:10:35 +08:00
Peleus
74f046dcf2 修复 DiffInMonths 方法错误 bug #165 2023-08-22 12:57:10 +08:00
gouguoyin
9e2e4d7fac 修复 DiffInYears、DiffAbsInYears、DiffInMonths、DiffAbsInMonths 方法错误 2022-10-27 00:37:43 +08:00
gouguoyin
8bf93ceb88 v2.1.8 统一私有方法注释格式 2022-05-24 07:03:55 +08:00
gouguoyin
1819dce2f4 将 DiffInXXXsWithAbs() 更名为 DiffAbsInXXX() 2022-04-17 19:52:02 +08:00
gouguoyin@juzifenqi.com
a7875ac304 优化代码 2022-04-12 17:32:03 +08:00
gouguoyin
4d59732063 update comment 2021-09-16 09:52:35 +08:00
gouguoyin
3dddff45ef Update comment 2021-09-15 15:05:21 +02:00
gouguoyin
15caf4885f fix golint 2021-09-06 12:55:07 +08:00
gouguoyin
dac8fac265 add DiffInString and DiffInStringWithAbs methods 2021-09-06 11:07:45 +08:00
gouguoyin
1b99b6e5af The public fields Loc and Lang in the carbon structure are changed to private fields loc and lang 2021-08-16 09:29:07 +08:00
gouguoyin
78487cbdaa update comment 2021-08-10 10:57:22 +08:00
gouguoyin
99de9ba300 optimize the judgment of the number of optional parameters 2021-07-31 13:27:17 +08:00
gouguoyin
8a34fc69ec add English comment 2021-07-28 15:18:05 +08:00
gouguoyin
9c22213acc 增加可选参数timezone 2021-07-23 10:57:18 +08:00
gouguoyin
f0248f3a7b 统一代码风格 2021-04-06 18:04:10 +08:00
gouguoyin
7afd911717 统一代码风格 2021-04-05 20:47:22 +08:00
gouguoyin
590eb3b54a 用MonthsPerYear常量代替12 2021-04-05 16:30:48 +08:00
gouguoyin
ed392fc388 v1.3.3 2021-02-23 09:32:55 +08:00
gouguoyin
d3f0aec069 v1.3.2按照功能拆分文件 2021-02-18 14:32:31 +08:00