How can you read input fields other than 'name' manually? So I want to give categorie a customized place.

Where can I change the date format, now it is 2020-1-20 and I want 20 januari 2020.

    Hi vandeez1

    Kindly share the credentials of your site and tell me in details of how / where you want to customize so I can suggest further.

    Regards

    Hi @saguaros,

    I'm using this component for an article overview and I want the date format to be different than standard, now it is 2020-1-20 and I want to show it as 20 januari 2020.

    http://kerk.testdeez.nl/agenda
    You can login with the site admin account

    Solved the date format problem, based on this post and this article

    Changed the file: /components/com_jamegafilter/assets/js

    _date = new Date(value.frontend_value[0]*1000);
    _value = _date.getDate()+'-'+(_date.getMonth()+1)+'-'+_date.getFullYear();

    TO

    const monthNames = ["januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december"];
    const _date = new Date(value.frontend_value[0]*1000);
    _value = _date.getDate()+' '+(monthNames[_date.getMonth()])+' '+_date.getFullYear();

    Result the full date

    Write a Reply...
    You need to Login to view replies.