forked from gitea/gitea
parent
5c7d30cf52
commit
2b68f66e0e
|
@ -382,7 +382,7 @@ func activityQueryCondition(opts GetFeedsOptions) (builder.Cond, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if opts.Date != "" {
|
if opts.Date != "" {
|
||||||
dateLow, err := time.Parse("2006-01-02", opts.Date)
|
dateLow, err := time.ParseInLocation("2006-01-02", opts.Date, setting.DefaultUILocation)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Warn("Unable to parse %s, filter not applied: %v", opts.Date, err)
|
log.Warn("Unable to parse %s, filter not applied: %v", opts.Date, err)
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue