How to change timeformat in jasper rest api rest_v2/resources? creation date format in response.

0

How to change timeformat in jasper rest api http://:/jasperserver[-pro]/rest_v2/resources? creation date format in response.

Ex: current datetime format "creationDate": "2013-07-04T12:18:47" change to new format "creationDate": "2013-07-04T12:18:47+05:30"

rest API response:

{
  "resourceLookup": [
    {
      "version": 0,
      "permissionMask": 1,
      "creationDate": "2019-02-18T13:24:03",
      "updateDate": "2019-02-18T13:24:03",
      "label": "xxxxxxxxxxxxx.html",
      "description": "DemoReport",
      "uri": "xxxxxxxxxxxxxxxxxxxxxx.html",
      "resourceType": "file"
    },
    {
      "version": 0,
      "permissionMask": 1,
      "creationDate": "2019-02-18T12:38:40",
      "updateDate": "2019-02-18T12:38:40",
      "label": "xxxxxxxxxxxxxxxxxxx.html",
      "description": "created by prabha",
      "uri": "xxxxxxxxxxxxxxxxxxxxxxxxx.html",
      "resourceType": "file"
    }
  ]
}
srikanta.rath20's picture
Joined: Jan 29 2019 - 3:18am
Last seen: 8 months 2 weeks ago

0 Answers:

No answers yet
Feedback
randomness