Commit Graph

29 Commits

Author SHA1 Message Date
gouguoyin
717e2f1c79 Time、TimeMilli、TimeMicro、TimeNano 类型字段进行 UnmarshalJSON 操作时设置默认年月日为当前年月日 2024-11-29 11:23:13 +08:00
gouguoyin
7c4d09bdf9 新增 DateTime、DateTimeMilli、DateTimeMicro、DateTimeNano 等结构体并实现 Scan、Value、MarshalJSON、UnmarshalJSON 接口 2024-11-25 16:18:25 +08:00
gouguoyin
74832aae2a 优化 Scan 方法 2024-11-25 04:19:40 +08:00
gouguoyin
2397dc4ddf 解析数据库字段时增加对字符串和字节的支持 2024-11-25 01:05:42 +08:00
Peleus
ff4171a00c v2.4.1 2024-10-17 15:15:30 +08:00
Peleus
20f486a8ac ToStdTime->StdTime 2024-02-01 11:24:43 +08:00
Peleus
4541950424 Scan 方法优化 2024-01-07 20:04:24 +08:00
Peleus
2bced5bf1a v2.3.2 Scan 默认时区设置为 Local 2024-01-02 23:27:29 +08:00
Peleus
d61632df7c GormDataType 方法从 json.go 文件移动到 database.go 文件 2023-12-22 16:06:38 +08:00
gouguoyin
021ee2080f The public field Time in the carbon structure is changed to private field time 2021-09-06 11:06:39 +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
db632ec0e9 fix missing location in call to Time.In bug 2021-08-10 11:11:18 +08:00
gouguoyin
78487cbdaa update comment 2021-08-10 10:57:22 +08:00
gouguoyin
e5d17d2c87 fix Scan 2021-08-06 10:19:12 +08:00
gouguoyin
0ece936bfd add comment 2021-07-24 01:03:39 +08:00
gouguoyin
82749aa229 拆分成database.go和json.go 2021-07-03 15:31:42 +08:00
gouguoyin
335e14eb83 优化 2021-04-07 12:03:31 +08:00
gouguoyin
d91eb8c61a 代码优化 2021-04-06 14:34:01 +08:00
gouguoyin
83cfa1b96f 性能优化 2021-04-04 22:43:41 +08:00
gouguoyin
f493a3f7c5 修复时区缺失bug 2021-03-17 11:28:59 +08:00
gouguoyin
9c0bdf4eaf 精简代码 2021-02-24 09:48:16 +08:00
gouguoyin
75e852562e v1.2.4新增时间比较系列方法 2020-11-06 09:28:10 +08:00
gouguoyin
84c388e120 ToTimestampWithMillisecond 2020-11-02 22:44:35 +08:00
gouguoyin
cbd96e1904 修复数据库保存失败的BUG 2020-10-12 09:51:16 +08:00
gouguoyin
1c59df4b18 修复数据库保存失败的BUG 2020-10-12 09:45:17 +08:00
gouguoyin
84d97737ea 版本重构 2020-10-10 16:11:22 +08:00
gouguoyin
534f465540 代码组织结构优化 2020-10-07 17:15:46 +08:00
gouguoyin
89c4364c75
修复gorm中时间字段类型设置为carbon.ToDateTimeString报错的BUG 2020-10-01 00:12:54 +08:00
gouguoyin@juzifenqi.com
9b3435e297 完善对orm的支持 2020-09-14 10:15:23 +08:00