@@ -296,7 +296,7 @@ func (a *App) logK8sDelete(userID string, role role, k8sID int, createdAt time.T
296296 Role : string (role ),
297297 Timestamp : time .Now (),
298298 Metadata : fmt .Sprintf (
299- "Kubernetes %v which created at %v, is deleted" , k8sID , createdAt ,
299+ "Kubernetes %v which created at %v, is deleted" , k8sID , createdAt . Format ( "January 2, 2006" ) ,
300300 ),
301301 }
302302
@@ -315,7 +315,7 @@ func (a *App) logVMDelete(userID string, role role, vmID int, createdAt time.Tim
315315 Timestamp : time .Now (),
316316 Metadata : fmt .Sprintf (
317317 "Virtual machine %v which created at %v, is deleted" ,
318- vmID , createdAt ,
318+ vmID , createdAt . Format ( "January 2, 2006" ) ,
319319 ),
320320 }
321321
@@ -334,7 +334,7 @@ func (a *App) logInvoiceCreate(userID, currency string, invoiceID int, invoiceTo
334334 Timestamp : time .Now (),
335335 Metadata : fmt .Sprintf (
336336 "Invoice %v with value: %v %v is created at %v" ,
337- invoiceID , invoiceTotal , currency , createdAt ,
337+ invoiceID , invoiceTotal , currency , createdAt . Format ( "January 2, 2006" ) ,
338338 ),
339339 }
340340
0 commit comments