Why is the timestamp field in the firebird database shown differently in a Ruby on Rails application?

0

I have a legacy Firebird 2.5 database. Access it via IBExpert 2016.9.4.1 This database is part of a request management system that is being migrated from a Delphi 10.1 Update 2 application to a Ruby(2.3.3) on Rails(4.2.7.1) application.

I noticed that fields of type TIMESTAMP are displaying divergence between what is in the database and what is shown in the RoR application. Example:

 - IBExpert mostra:      30.12.1899 15:10
 - Ruby on Rails mostra: 30.12.1899 15:03

Does anyone know why this happens and how to solve it?

    
asked by anonymous 06.12.2016 / 18:27

0 answers