Commit Graph

30 Commits

Author SHA1 Message Date
Peleus
b09d48d6de timezone[len(timezone)-1] -> timezone[0] 2023-11-30 15:07:44 +08:00
Peleus
0b98109409 Fix translation error about now 2023-11-07 11:46:28 +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
Peleus
7ffe050821 优化对测试方法的适配 2023-08-25 17:36:44 +08:00
gouguoyin
953408d885 Carbon2Time()->time.In(c.loc) 2023-01-07 21:50:09 +08:00
gouguoyin
d9a0cea0aa 将 carbon.go 里 Now()、Tomorrow()、Yesterday() 的方法移动到 traveler.go 文件 2022-10-29 14:31:57 +08:00
gouguoyin
c0ac4bd103 v2.1.8 持续时长->时长 2022-05-24 07:05:15 +08:00
gouguoyin
668262942e 2.1.5 修复语法错误 2022-05-03 23:28:35 +08:00
gouguoyin
7f50535908 2.1.6 fix syntax errors 2022-05-03 13:44:40 +08:00
gouguoyin
259ee7de66 2.1.5 新增 SubMilliseconds(),AddMilliseconds(),SubMicroseconds(),AddMicroseconds() 等方法 2022-05-01 09:09:06 +08:00
gouguoyin
67fe6a8073 v2.1.3 c.time.In(c.loc)->c.Carbon2Time() 2022-04-21 15:08:08 +08:00
gouguoyin
e8428afbc9 微妙->纳秒 2022-04-17 23:24:20 +08:00
gouguoyin
9b635cf225 精简代码 2022-04-12 23:24:49 +08:00
gouguoyin@juzifenqi.com
f0e895f8f2 精简代码 2022-04-12 17:39:17 +08:00
gouguoyin
885a6d824f The public field Time in the carbon structure is changed to private field time 2021-09-06 11:05:04 +08:00
gouguoyin
b3ed3cd99f The public fields Loc and Lang in the carbon structure are changed to private fields loc and lang 2021-08-16 09:48:12 +08:00
gouguoyin
90a190d9ae update comment 2021-08-10 11:00:19 +08:00
gouguoyin
1e4014f0f3 add AddDecades,AddDecadesNoOverflow,AddDecade,AddDecadeNoOverflow and
SubDecades,SubDecadesNoOverflow,SubDecade,SubDecadeNoOverflow methods
2021-08-05 13:45:47 +02:00
gouguoyin
82328f5b4a update comment 2021-07-31 13:34:52 +08:00
gouguoyin
8a34fc69ec add English comment 2021-07-28 15:18:05 +08:00
gouguoyin
9dc53d80f3 fix comment error 2021-07-24 01:03:09 +08:00
gouguoyin
c4ba1b5787 修复缺少时区的bug 2021-07-23 11:08:24 +08:00
gouguoyin
9370c3f3e8 精简代码 2021-07-19 09:55:28 +08:00
gouguoyin
b2ebbca357 AddMonths()增加时区 2021-07-08 09:48:43 +08:00
gouguoyin
e7e6133f60 修复注释错误bug 2021-04-06 00:12:37 +08:00
gouguoyin
21e35f4ae4 修复注释错误bug 2021-04-06 00:08:07 +08:00
gouguoyin
7afd911717 统一代码风格 2021-04-05 20:47:22 +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