Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID

I18n::short_date

edited December 2014 in I18n

I notice a strange problem with short dates.

It adds ", yyyy" to all dates no matter the format is, so:

2014-12-30 with format dd-mm-yy becomes 30-12-14, 2014

2014-12-30 with format dd-mm-yyyy becomes 30-12-2014, 2014

2014-12-30 with format yyyy-mm-dd becomes 2014-12-30, 2014

2014-12-30 with format mmm, dd yyyy becomes Dec. 30 2014, 2014

Does it happen only to me?

Comments

  • Solved commenting line #64 of file:

    apps/admin/handlers/util/dates.php

    $(\'time.shortdate\').localize(\'' . $i18n->short_format . ', ' . $i18n->year_format . '\');
    
Sign In or Register to comment.