Date.today of the published application was able to get the local time in the development environment, but when it was published, it was UTC time.
Change default time zone to Japan time
config.time_zone = 'Asia/Tokyo'
As a result, although it is registered in UTC time on the database, it is displayed as the time in Tokyo in the app (I think you can confirm that it was UTC + 9:00).
As a method to get today's date Change from Date.today to Time.zone.today
Remember this method as it is often registered in the database with UTC time by default and changed to the local date and time using Time.zone.