Tryton - Issues

 

Message38873

Author ced
Recipients
Date 2018-03-08.18:00:26
Content
From http://www.tryton.org/~irclog/2018-03-08.log.html#t16:03-4

User may want to display a datetime on the report but they are always in UTC in trytond so they need to be converted to the right timezone.
So I propose to add a function 'format_datetime' similar to 'format_date' but taking a timezone (name of pytz instance). It will be responsible to convert into timezone and format it (the time format should be a parameter also).
History
Date User Action Args
2018-03-08 18:00:27cedsetmessageid: <1520528427.27.0.316135365032.issue7202@tryton.org>
2018-03-08 18:00:27cedlinkissue7202 messages
2018-03-08 18:00:26cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)