mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05: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
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ module TopicQuerySQL
|
||||||
end
|
end
|
||||||
|
|
||||||
def highest_date
|
def highest_date
|
||||||
"3000-01-01"
|
"infinity"
|
||||||
end
|
end
|
||||||
|
|
||||||
def order_by_category_sql(dir)
|
def order_by_category_sql(dir)
|
||||||
|
|
Loading…
Reference in a new issue