Fix year date format
This commit is contained in:
parent
d892695c2b
commit
7e26dfea98
@ -186,7 +186,7 @@ func (mssql) DefaultValueStr() string {
|
||||
|
||||
func (mssql) FormatDate(e *expr, format string) *expr {
|
||||
mapping := map[rune]string{
|
||||
'y': "YYYY",
|
||||
'y': "yyyy",
|
||||
'm': "MM",
|
||||
'd': "dd",
|
||||
'h': "HH",
|
||||
|
Loading…
x
Reference in New Issue
Block a user