mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 01:13:38 +08:00
Use infinity instead of 3000-01-01 as max date.
This fixes the y3k problem in Discourse that made topics with pins appear after threads updated in year 3000.
This commit is contained in:
parent
85570ddc77
commit
2c3bdf48d1
|
@ -12,7 +12,7 @@ module TopicQuerySQL
|
|||
end
|
||||
|
||||
def highest_date
|
||||
"3000-01-01"
|
||||
"infinity"
|
||||
end
|
||||
|
||||
def order_by_category_sql(dir)
|
||||
|
|
Loading…
Reference in New Issue
Block a user