The same thing happened, I was spending about a half day writing fixes of my date saving logic and then finally connected to DB from local pgadmin and saw everything was ok. It's just the GUI of railway Postgres that breaks the date.