Commit Graph

29 Commits

Author SHA1 Message Date
Peleus
f3a30386cf v2.3.5 2024-01-12 10:57:10 +08:00
Peleus
ec9637ddca SetLanguage 方法从 setter.go 移动到 language.go 2024-01-07 20:05:44 +08:00
gouguoyin
6ecb825f44 v2.1.9 新增 SetLocation() 方法 2022-08-01 12:25:11 +08:00
gouguoyin
b84f73dfb6 2.1.6 新增 SetDateXXX()、SetTimeXXX() 等系列方法 2022-05-07 09:21:10 +08:00
gouguoyin@juzifenqi.com
d6c6c20913 update comment 2022-04-14 11:32:01 +08:00
gouguoyin
9b635cf225 精简代码 2022-04-12 23:24:49 +08:00
gouguoyin@juzifenqi.com
5b7327f5ea 精简代码,新增SetDateTime()、SetDate()、SetTime()方法 2022-04-12 17:40:31 +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
bb313d590e add SetWeekStartsAt method to set the start date of the week 2021-08-16 09:31:28 +08:00
gouguoyin
97b8a3ad09 update comment 2021-08-10 10:58:43 +08:00
gouguoyin
9b5b798a4c add SetYearNoOverflow and SetMonthNoOverflow methd 2021-08-05 13:43:31 +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
8839c764ac 增加对无效时间的判断 2021-07-23 11:07:13 +08:00
gouguoyin
9370c3f3e8 精简代码 2021-07-19 09:55:28 +08:00
gouguoyin
17617f9b8e 为避免New()和Now()混淆,将New()方法改回NewCarbon()方法 2021-07-13 23:18:34 +08:00
gouguoyin
ad967cccdb NewCarbon()改为New() 2021-06-29 18:19:14 +08:00
gouguoyin
b444d9d0c4 V1.3.9 2021-06-18 14:36:41 +08:00
gouguoyin
cc1f785eb9 carbon结构体新增WeekStartDay字段
新增NewCarbon()方法
2021-06-17 16:21:55 +08:00
gouguoyin
2a6cfccdda 修复time.Date()时区bug 2021-04-07 15:29:43 +08:00
gouguoyin
80ec712f63 优化getLocationByTimezone()方法 2021-04-05 23:39:30 +08:00
gouguoyin
67913299fe 新增SetNanosecond()、SetMillisecond()、SetMicrosecond()方法 2021-04-05 10:14:44 +08:00
gouguoyin
4344b4ec00 新增SetNanosecond()方法 2021-04-05 09:45:14 +08:00
gouguoyin
2051315a80 优化性能 2021-03-26 06:46:40 +08:00
gouguoyin
3a13533ba5 优化性能 2021-03-25 18:59:38 +08:00
gouguoyin
acb3be4f1a 优化SetLanguage性能 2021-03-25 18:42:57 +08:00
gouguoyin
c958abbf5f 优化SetTimezone性能 2021-03-25 18:04:21 +08:00
gouguoyin
7aa36dd6f8 优化SetTimezone性能 2021-03-25 18:00:05 +08:00
gouguoyin
d3f0aec069 v1.3.2按照功能拆分文件 2021-02-18 14:32:31 +08:00