From: Dan Untenzu Date: Thu, 23 Feb 2017 11:05:23 +0000 (+0100) Subject: [FEATURE] Show readable date format X-Git-Tag: 3.0.0~7 X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/commitdiff_plain/ce571122a5b6866835a9313e599bcad57bc790ff?hp=ce571122a5b6866835a9313e599bcad57bc790ff [FEATURE] Show readable date format Whenever date objects in PHP or JavaScript are converted to strings, it depends on the servers/clients settings and timezone which locale and format is used. This may lead to situation where the date is in english, but all other texts of Jirafeau service are in another language. Depending on unser language it may be not possible to localise the date, since we would need to have a list of all existing date formats. In both PHP and JavaScript. To avoid these translation obstacles we may use the following fallback: * Always use UTC timezone in PHP and render dates with UTC only * Use the rather international format »YYYY-MM-DD hh:mm« Refs #59 #106 #73 ---