]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
Improve datetime display
authorArthurHoaro <arthur@hoa.ro>
Sat, 7 Jan 2017 13:30:42 +0000 (14:30 +0100)
committerArthurHoaro <arthur@hoa.ro>
Mon, 6 Mar 2017 20:11:12 +0000 (21:11 +0100)
commit52b503105d389d1796698114573ff618b2ad34a2
treed636098fe0864db98c175cd7dfda19a1c069eb82
parent1255a42cfed9ce419962c6cf29181a66c7e22bb8
Improve datetime display

Use php-intl extension to display datetimes a bit more nicely, depending on the locale.

What changes:

  * the day is no longer displayed
  * day number and month are ordered according to the locale
  * the timezone is more readable (UTC+1 instead of CET)
application/Utils.php
tests/UtilsTest.php
tests/languages/bootstrap.php [new file with mode: 0644]
tests/languages/de/UtilsDeTest.php [new file with mode: 0644]
tests/languages/en/UtilsEnTest.php [new file with mode: 0644]
tests/languages/fr/UtilsFrTest.php [new file with mode: 0644]
tpl/default/linklist.html
tpl/vintage/linklist.html