Skip to content

Commit

Permalink
MB-51555 Revise fix.
Browse files Browse the repository at this point in the history
Change-Id: Ie7c9ffe40f083935872403fcd53557a13e353e0f
Reviewed-on: https://review.couchbase.org/c/query/+/173135
Reviewed-by: Sitaram Vemulapalli <sitaram.vemulapalli@couchbase.com>
Tested-by: Donald Haggart <donald.haggart@couchbase.com>
  • Loading branch information
dhaggart committed Apr 1, 2022
1 parent 9f35c5e commit 7f686e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion expression/func_date.go
Expand Up @@ -4202,7 +4202,7 @@ func timeToStrCommonFormat(t time.Time, format string) string {
w := t.Weekday().String()[:3]
if format[i] == 'd' {
w = strings.ToLower(w)
} else if format[i+1] == 'A' {
} else if format[i+1] == 'Y' {
w = strings.ToUpper(w)
}
res = append(res, []rune(w)...)
Expand Down

0 comments on commit 7f686e2

Please sign in to comment.