format date and time in environment.rb for whole app