They confused me with the func Rows()

im use [gorm]db.where().Rows() to fetch data. the original is following Gorm The func Rows() problem

but! [mysql-driver]func (rows *binaryRows)Next get data is: Gorm The func Rows() problem the month is addition 1

data type is: Gorm The func Rows() problem

Seemingly problem is [mysql-driver]rows.mc.readPacket() and [mysql-driver]readLengthEncodedString(data[pos:]) but i don't know how them does working

if don't use (gorm)where(),only use (gorm)Raw(sql).Rows(),the result is normal,it go into [mysql-driver]func (rows textRows) Next so i think the problem at [mysql-driver]func (rows binaryRows)Next please help me,tks!!!

information os:win10 golang 1.17.7 github.com/jinzhu/gorm 1.9.16 go-mysql-driver/mysql 1.5

关于使用rows()方法的疑问

如果我使用raw().rows()获取数据,最终会调用[mysql-driver]func (rows textRows) Next方法,那么解析出的time.time时间格式是正常的,使用到where().rows()会调用 [mysql-driver]func (rows binaryRows)Next ,那么年月日的月份会加上1个月

Comment From: github-actions[bot]

The issue has been automatically marked as stale as it missing playground pull request link, which is important to help others understand your issue effectively and make sure the issue hasn't been fixed on latest master, checkout https://github.com/go-gorm/playground for details. it will be closed in 30 days if no further activity occurs. if you are asking question, please use the Question template, most likely your question already answered https://github.com/go-gorm/gorm/issues or described in the document https://gorm.io ✨ Search Before Asking