Commit Graph

34 Commits

Author SHA1 Message Date
Peleus
39aba0e67f c.IsInvalid() -> c.Error != nil || c.IsZero() 2024-04-09 20:14:04 +08:00
Peleus
4454eb844a 新增 GoStringToIso8601ZuluStringToIso8601ZuluMilliStringToIso8601ZuluMicroStringToIso8601ZuluNanoString 方法 2024-03-06 08:08:39 +08:00
Peleus
5e27084edc 修改 ToStdTime 注释信息 2024-02-20 13:58:03 +08:00
Peleus
20f486a8ac ToStdTime->StdTime 2024-02-01 11:24:43 +08:00
Peleus
e252d833b1 修复并发读写报错的 bug 2024-01-22 17:08:16 +08:00
Peleus
c02f5733ac v2.3.2 优化 String 方法 2024-01-02 23:29:22 +08:00
Peleus
6b3822fa1b 增加对 U, V, X, Z 符号的解析支持 2023-12-26 22:12:48 +08:00
Peleus
e2727ed5f7 ToFormatString 方法增加对 U,V,X,Z 等符号的解析 2023-12-26 22:02:03 +08:00
Peleus
b145cbb470 ToANSICString->ToAnsicString 2023-12-24 18:35:29 +08:00
Peleus
74ae9fcc3f In CreateFromDateTime method, nanoseconds default to 0 2023-12-24 10:42:32 +08:00
Peleus
33e30c173c String 方法根据不同 tag 输出不同格式 2023-12-22 16:07:50 +08:00
Peleus
8a0bbf1487 修复 'ToWeekString' 方法忽略 SetWeekStartsAt设置的bug 2023-11-30 15:53:05 +08:00
Peleus
0016152ff1 timezone[len(timezone)-1] -> timezone[0] 2023-11-30 15:06:56 +08:00
Peleus
5033c8ea57 c.time.In(c.loc->c.ToStdTime() 2023-09-06 14:34:51 +08:00
Peleus
37fa1b628a 将待弃用的方法迁移到单独文件 2023-09-06 11:27:45 +08:00
gouguoyin
67755a4b7b 修复 Format 方法里 W 和 N 符号输出错误的 bug 2023-01-07 21:57:43 +08:00
gouguoyin
712085450a v2.1.8 修复ToFormatString()中 "l", "D", "F", "M" 符号无法输出指定本地化语言的bug 2022-05-24 07:08:42 +08:00
gouguoyin
332f0e5633 修复 ToFormatString() 方法对于支持 i18n 的特殊字符(D, F, M, l)输出错误的 bug 2022-05-21 01:02:56 +08:00
gouguoyin
a79f303e51 修复 ToFormatString() 方法对于支持 i18n 的特殊字符(D, F, M, l)输出错误的 bug 2022-05-21 00:53:35 +08:00
gouguoyin
cefc4af409 修复 ToFormatString() 方法对于支持 i18n 的特殊字符(D, F, M, l)输出错误的 bug 2022-05-21 00:33:29 +08:00
gouguoyin
bce828fa5a 2.1.6 更新注释信息 2022-05-07 09:20:38 +08:00
gouguoyin
3fa5e54886 2.1.5 新增 ToDateMilliString(),ToDateMicroString(),ToDateNanoString() 等方法 2022-05-01 09:08:05 +08:00
gouguoyin
956087cb0a v2.1.3 XXXFormat->XXXLayout 2022-04-24 22:15:44 +08:00
gouguoyin
67fe6a8073 v2.1.3 c.time.In(c.loc)->c.Carbon2Time() 2022-04-21 15:08:08 +08:00
gouguoyin
74553b9ea6 ToAnsicString() 方法更名为 ToANSICString()
新增 ToIso8601MilliString(),ToIso8601MicroString(),ToIso8601NanoString() 方法
2022-04-14 22:43:59 +08:00
gouguoyin@juzifenqi.com
82ff5fa00b update comment 2022-04-14 10:43:07 +08:00
gouguoyin@juzifenqi.com
64a3047708 精简代码,新增ToDateTimeMilliString()、ToDateTimeMicroString()、ToDateTimeNanoString()、ToShortDateTimeMilliString()、ToShortDateTimeMicroString()、ToShortDateTimeNanoString()、ToRfc3339MilliString()、ToRfc3339MicroString()方法 2022-04-12 17:36:40 +08:00
gouguoyin
3dddff45ef Update comment 2021-09-15 15:05:21 +02:00
gouguoyin
3e460cfbcb update comment 2021-09-10 14:06:53 +08:00
gouguoyin
2dd7e045e3 remove some methods 2021-09-06 11:14:50 +08:00
gouguoyin
e8b4fcd731 the public fields Loc and Lang in the carbon structure are changed to private fields loc and lang 2021-08-16 09:33:08 +08:00
gouguoyin
7e97400458 rename months_short and weeks_short to short_months and short_weeks 2021-08-10 10:50:27 +08:00
gouguoyin
cdef742524 optimize the code 2021-08-05 13:42:55 +02:00
gouguoyin
2ca1f0df1d rename display.go to outputer.go 2021-08-02 10:23:53 +08:00