Commit Graph

21 Commits

Author SHA1 Message Date
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