Commit 8abdc85b authored by Julian Rother's avatar Julian Rother
Browse files

Replace debug time offset in announcement code

parent 2d4c02d3
......@@ -125,7 +125,7 @@ def rfc3339(d):
def get_announcements(minlevel=0):
offset = timedelta()
if ismod():
offset = timedelta(minutes=10)
offset = timedelta(hours=24)
return query('SELECT * FROM announcements WHERE NOT deleted AND (time_expire ISNULL OR time_expire > ?) AND (? OR (visible AND time_publish < ?)) AND level >= ? ORDER BY level DESC',, ismod(),, minlevel)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment