End of 2017 deposit payment for 2018 tenancy

I have a rental property. I had tenants starting their lease Feb 1, 2018, but they paid their deposit + first-month rent on 12/27/2017. Should this deposit + first-month rent income have been reported on 2017 taxes or is it okay to include this as part of 2018 tax submission?