Change date display format

Change date display format

olvaolva Posts: 16Questions: 6Answers: 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: 16Questions: 6Answers: 0
    edited September 11
       $(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: 16Questions: 6Answers: 0

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

Sign In or Register to comment.