? ? Pending

User tests: Successful: Unsuccessful:

avatar machadoug
machadoug
16 May 2017

shortDays array was displaying Monday (Seg) as the first day of the week, however the calendar displays Sunday as the first day, so the shortDays must be changed accordingly.

Pull Request for Issue # .

Summary of Changes

Testing Instructions

Expected result

Actual result

Documentation Changes Required

avatar machadoug machadoug - open - 16 May 2017
avatar machadoug machadoug - change - 16 May 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 16 May 2017
Category JavaScript Language & Strings
avatar Bakual
Bakual - comment - 16 May 2017

Those files are provied by the language teams.
Pinging @helvecio and @horus68 so they can approve this change and take the changes to his own file. Not sure which one provided the file ?

avatar horus68
horus68 - comment - 16 May 2017

The change is correct. @Bakual can you please merge this one?
Actually there is only a file for "pt" and "pt-BR"

avatar dgt41
dgt41 - comment - 16 May 2017

@machadoug @horus68 @Bakual you can rearrange the array, as it's done here, or change the weekend value in the language xml file (I think is better to keep the array order reflecting the original EN)

avatar dgt41
dgt41 - comment - 16 May 2017

Also there is a firstDay: https://github.com/joomla/joomla-cms/blob/staging/language/en-GB/en-GB.xml#L18
So tweaking these values we can have the same result without rearranging the days array...

avatar machadoug
machadoug - comment - 16 May 2017

@dgt41, actually the value of the shortDays array is actually wrong in pt.js file. It should match the days array, regardless of the configuration in the xml file.

In other words, the days array position should match the shortDays array position. The changes suggested set Sunday as the first position in both cases.

avatar Bakual Bakual - change - 16 May 2017
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-05-16 19:18:40
Closed_By Bakual
Labels Added: ? ?
avatar Bakual Bakual - close - 16 May 2017
avatar Bakual Bakual - merge - 16 May 2017

Add a Comment

Login with GitHub to post a comment