# Date tzinfo and european format

**URL:** <https://www.ruby-forum.com/t/date-tzinfo-and-european-format/90922>\
**Category:** Rails\
**Created:** [April 3, 2007, 12:50am UTC](https://www.ruby-forum.com/t/date-tzinfo-and-european-format/90922 "2007-04-03T00:50:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bolo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/898d66/32.png) [@Bolo](https://www.ruby-forum.com/u/Bolo)\
**Post date:** [April 3, 2007, 12:50am UTC](https://www.ruby-forum.com/t/date-tzinfo-and-european-format/90922/1 "2007-04-03T00:50:58Z")

</div>

Hello,

i have a problem with the format of my dates and time

i have an method with this line

> :published\_at =\> utc\_to\_local(Time.now.utc))

in dev mode it’s working great

=\> Tue Mar 06 13:27:00 UTC 2007

> > Time.now.utc  
> > =\> Mon Apr 02 22:48:40 UTC 2007

On server for production

=\> lun avr 02 22:28:00 -0400 2007

> > Time.now.utc  
> > =\> lun avr 02 23:37:28 UTC 2007
> 
> >

How i can fix that ?

thanks you
