?
avatar Jeldik
Jeldik
10 Oct 2017

Steps to reproduce the issue

When I use date format %d.%m and save it, Joomla returns me date format in reverse result(%m.%d) in my view. When I use d.m.y, everythings is ok.

Expected result

7.9. (%d. %m)

Actual result

9.7. (%m. %d)

System information (as much as possible)

I am fetching data in good format from my DB. When I debug this, I can see that problem is in Calendar.js -> checkInputs -> here DateHelper.js returns me wrong format. I am sending for example 7.9. (d.m) and I get 9.7.

Additional comments

avatar Jeldik Jeldik - open - 10 Oct 2017
avatar joomla-cms-bot joomla-cms-bot - change - 10 Oct 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 10 Oct 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 10 Oct 2017
Category JavaScript
avatar infograf768
infograf768 - comment - 10 Oct 2017

Are you using translateformat?

Which language is used?


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

avatar franz-wohlkoenig franz-wohlkoenig - change - 10 Oct 2017
Status New Information Required
avatar Jeldik
Jeldik - comment - 10 Oct 2017

No I don't. But when I try it, same result.

avatar dgt41
dgt41 - comment - 12 Oct 2017

@Jeldik can you provide some more info here?
What i the language?
Can you also provide the failing field (the code will be helpful), is it in core/3rd PD extension?

avatar Jeldik
Jeldik - comment - 12 Oct 2017

Failing field is whatever in format %d.%m. For example 9.6. It is looks like the method not count with format without year. What language do you mean? Some example please. Is in DateHelper.js, I don´t know if is it core or 3rd PD extension.

avatar dgt41
dgt41 - comment - 12 Oct 2017

I mean what is your website backend/front end language? English, French etc
Also how did you change the format? Form field, Layout, Language string

avatar Jeldik
Jeldik - comment - 12 Oct 2017

Czech. Field i change it in xml field.


Tomáš Jelínek

2017-10-12 18:10 GMT+02:00 Dimitri Grammatikogianni <
notifications@github.com>:

I mean what is your website backend/front end language? English, French etc


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#18297 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWfVmiE2yk3LDNVTaLiddoYh7252zYrtks5srjnsgaJpZM4PzbXz
.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 22 Oct 2017

any Suggestion @dgt41?


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

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 26 Dec 2017

@Jeldik is this still an Issue on latest staging?

avatar Quy
Quy - comment - 25 Jan 2018

@franz-wohlkoenig OK to close?

avatar joomla-cms-bot joomla-cms-bot - change - 25 Jan 2018
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 25 Jan 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 25 Jan 2018
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2018-01-25 06:36:09
Closed_By franz-wohlkoenig
avatar joomla-cms-bot
joomla-cms-bot - comment - 25 Jan 2018
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 25 Jan 2018

closed as stated above.


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

Add a Comment

Login with GitHub to post a comment