Bug 1332120

Summary: [RFE] Change format of date returned by API calls
Product: Red Hat Satellite 5 Reporter: Marcel Gazdík <mgazdik>
Component: APIAssignee: Jan Dobes <jdobes>
Status: CLOSED WONTFIX QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: low Docs Contact:
Priority: low    
Version: 570CC: tlestach, xdmoon
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-09 12:39:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 260381    

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.