You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2019/06/11 15:54:32 UTC

[GitHub] [trafficcontrol] mitchell852 commented on a change in pull request #3675: Fix "OURCE" displaying in TP build date string

mitchell852 commented on a change in pull request #3675: Fix "OURCE" displaying in TP build date string
URL: https://github.com/apache/trafficcontrol/pull/3675#discussion_r292532155
 
 

 ##########
 File path: traffic_portal/build/traffic_portal.spec
 ##########
 @@ -61,7 +61,7 @@ tar -xzvf $RPM_SOURCE_DIR/traffic_portal-%{version}.tgz
 
 	# creates dynamic json file needed at runtime for traffic portal to display release info
 	VERSION=%{version}-%{build_number}
-	BUILD_DATE=$(date +'%Y-%m-%d %H:%M:%S')
+	BUILD_DATE=$(date +'%Y-%m-%d %H:%M')
 
 Review comment:
   you are correct @ocket8888 but deleting the seconds also deletes the `OURCE` for some reason. /shrug
   
   not sure the seconds are really needed anyhow. this field is purely for display purposes in TP.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services