Bug 1332120 - [RFE] Change format of date returned by API calls
Summary: [RFE] Change format of date returned by API calls
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: API
Version: 570
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
Assignee: Jan Dobes
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: 260381
TreeView+ depends on / blocked
 
Reported: 2016-05-02 09:31 UTC by Marcel Gazdík
Modified: 2019-10-10 12:01 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-09 12:39:26 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Marcel Gazdík 2016-05-02 09:31:04 UTC
Description of problem:
  Customer would like to change the output of the date format in Satellite 5.7 from US to ISO8601 format.

Version-Release number of selected component (if applicable):


How reproducible:
  run: 
    spacecmd {SSM:0}> system_listerrata dhcp-144-220.gva.redhat.com  
    *replace dhcp-144-220.gva.redhat.com with existing hostname

  or: make an API call: 
     system.getRelevantErrata

Actual results:
  DB output:  

39417 | 2015-12-15 00:00:00-05 | httpd bug fix update                                                | RHBA-2015:2641 | Bug Fix Advisory             | 1000010193
 39418 | 2015-12-15 00:00:00-05 | selinux-policy bug fix update                                       | RHBA-2015:2644 | Bug Fix Advisory             | 1000010193
 39419 | 2015-12-15 00:00:00-05 | samba bug fix update                                                | RHBA-2015:2642 | Bug Fix Advisory             | 1000010193

API output:
  wpa_supplicant bug fix and enhancement update - 2/4/13 - 2/4/13


spacecmd:
  RHEA-2014:1621  tzdata enhancement update                           10/15/14
  RHEA-2014:1355   tzdata enhancement update                           10/3/14

Expected results:
RHSA-2016:0459  Important: bind security update                      2016-03-16T11:13:30+02:00
RHSA-2016:0428  Moderate: libssh2 security update                    2016-03-10T11:13:30+02:00

Comment 1 Tomas Lestach 2017-06-09 12:39:26 UTC
Satellite 5 does not accept any more RFEs. I agree the date (and time) formats aren't unified across the product, however we do not plan to change this in the near future. Closing now to help set customer expectations as early as possible.


Note You need to log in before you can comment on or make changes to this bug.