Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Datepicker to pick month/year - set correct language?

unpstepMar 9 2018 — edited Mar 15 2018

Hi,

I'm looking for a nice solution to select a month/year omitting the day information (it's always the first) and came across this nice post:

And it works (after I had found out, that I had to set inline css correctly).

But still I'm not completly satisfied: the modified datepicker is displayed in English - and I need month names in German. Tried it like this, which didn't work:

$('.month-picker').datepicker( {

        changeMonth: true,

        changeYear: true,

        showButtonPanel: true,

        dateFormat: 'MM yy',

        onClose: function(dateText, inst) {

            $(this).datepicker('setDate', new Date(inst.selectedYear, inst.selectedMonth, 1));

        }

             },"dd.mm.yyyy","de-at");

My apologies - but I'm not a Java-Script guy ...

Thanks for any hints and help!

Stephan

This post has been answered by Pierre Yotti on Mar 15 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 12 2018
Added on Mar 9 2018
19 comments
1,717 views