fix(auto-reply): include start and end dates in the auto-reply period; issue #2512

main
wkr 2 years ago
parent 323f0a4e70
commit d920b3d037

@ -546,8 +546,8 @@ class User(Base, Email):
now = date.today() now = date.today()
return ( return (
self.reply_enabled and self.reply_enabled and
self.reply_startdate < now and self.reply_startdate <= now and
self.reply_enddate > now self.reply_enddate >= now
) )
@property @property

@ -0,0 +1 @@
Fix: include start and end dates in the auto-reply period
Loading…
Cancel
Save