? Success

User tests: Successful: Unsuccessful:

avatar Bakual
Bakual
10 Dec 2016

This PR extends the use of the new feature for translated date (and time) formats in the calendar formfield to all other core extensions.
#12102 originally introduced that feature but only did it for com_content.

Summary of Changes

Replace the hardcoded format in the form declaration with translateFormat="true" and showTime="true" where appropriate.

Testing Instructions

  • Add the new language strings to your second language you have installed. Eg for de-DE add this to both de-DE.ini files (frontend and backend):
DATE_FORMAT_CALENDAR_DATE="%d.%m.%Y"
DATE_FORMAT_CALENDAR_DATETIME="%d.%m.%Y %H:%M:%S"
DATE_FORMAT_FILTER_DATETIME="d.m.Y H:i:s"
DATE_FORMAT_FILTER_DATE="d.m.Y"
  • Make sure all instances of a calendar formfield (usually the created/modified/publish_up/publish_down) are using the translated format and don't create an error when saving.

Documentation Changes Required

None that I'm aware of.

avatar Bakual Bakual - open - 10 Dec 2016
avatar Bakual Bakual - change - 10 Dec 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 10 Dec 2016
Category Administration com_admin com_banners com_contact com_content com_finder com_modules com_newsfeeds com_tags com_users Front End com_config Modules
avatar Bakual Bakual - change - 10 Dec 2016
Labels Added: ?
avatar Bakual
Bakual - comment - 10 Dec 2016

Affected extensions are:

Backend

  • User Profile
  • Banner
  • Contact
  • Smart Search Filter
  • Module
  • Newsfeed
  • Tag
  • User Note
  • User

Frontend

  • Module
  • Article

Modules

  • Articles - Category
  • Articles - Most Read
avatar infograf768
infograf768 - comment - 11 Dec 2016

Looks OK on review.

avatar andrepereiradasilva
andrepereiradasilva - comment - 13 Dec 2016

works as described.

Maybe for another PR, but notice several other places the date format is not translated

Version:
image

Category
image

field
image

user list
image

and probably more.

avatar Bakual
Bakual - comment - 13 Dec 2016

For this PR I did a search for the calendar type formfield.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 13 Jan 2017

I have tested this item successfully on f0c226c


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13158.

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 13 Jan 2017 - Tested successfully
avatar infograf768
infograf768 - comment - 13 Jan 2017

I have tested this item successfully on f0c226c


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13158.

avatar infograf768 infograf768 - test_item - 13 Jan 2017 - Tested successfully
avatar jeckodevelopment jeckodevelopment - change - 13 Jan 2017
Status Pending Ready to Commit
avatar jeckodevelopment
jeckodevelopment - comment - 13 Jan 2017

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13158.

avatar wilsonge wilsonge - change - 15 Jan 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-01-15 01:50:10
Closed_By wilsonge
avatar wilsonge wilsonge - close - 15 Jan 2017
avatar wilsonge wilsonge - merge - 15 Jan 2017

Add a Comment

Login with GitHub to post a comment