Change date display format

Change date display format

olvaolva Posts: 17Questions: 7Answers: 0

Hi!
How can I change the date display format from the json file from 2020-11-01 format to 01.11.2020 format

Answers

  • olvaolva Posts: 17Questions: 7Answers: 0
    edited September 2020
       $(document).ready(function () {
            var table = $('#price').DataTable({
                  "language": {
                    "url": "//cdn.datatables.net/plug-ins/1.10.20/i18n/Russian.json"
                },
                'ajax': 'layouts/ajax/price',
                "columns": [
                    {"data": "catalogy_num"},
                    {"data": "prod_name"},
                    {"data": "capacity"},
                    {"data": "price_wholesale"},
                    {"data": "price_retail"},
                    {"data": "sklad"},
                    {"data": "price_euro", "defaultContent": "1"},
                    {"data": "id", "visible": false, "searchable": false},
                    {"data": "date_update" },
                ]
    
    
  • olvaolva Posts: 17Questions: 7Answers: 0

    [http://live.datatables.net/jevehada/1/edit ]
    problem solved !!! thank

This discussion has been closed.