Update date threshold to show the per-user TC dialog.

This commit is contained in:
Paulo Reis 2017-08-01 12:01:17 +01:00
parent 7b85661035
commit d576aa5b9d

View file

@ -236,7 +236,7 @@ module.exports = ProjectController =
return cb()
timestamp = user_id.toString().substring(0,8)
userSignupDate = new Date( parseInt( timestamp, 16 ) * 1000 )
if userSignupDate > new Date("2018-01-01") # 8th March
if userSignupDate > new Date("2017-08-02")
# Don't show for users who registered after it was released
return cb(null, false)
timeout = setTimeout cb, 500