Update Format
This commit is contained in:
@@ -276,13 +276,13 @@ func (h *Handler) toHistoryOrderResponse(resp *entity.HistoryOrder) response.His
|
||||
ID: resp.ID,
|
||||
Employee: resp.Employee,
|
||||
Site: resp.Site,
|
||||
Timestamp: resp.Timestamp.Format(time.RFC3339),
|
||||
BookingTime: resp.BookingTime.Format(time.RFC3339),
|
||||
Timestamp: resp.Timestamp.Format("2006-01-02 15:04:05"),
|
||||
BookingTime: resp.BookingTime.Format("2006-01-02 15:04:05"),
|
||||
Tickets: resp.Tickets,
|
||||
PaymentType: resp.PaymentType,
|
||||
Status: resp.Status,
|
||||
Amount: resp.Amount,
|
||||
VisitDate: resp.VisitDate.Format(time.RFC3339),
|
||||
VisitDate: resp.VisitDate.Format("2006-01-02"),
|
||||
TicketStatus: resp.TicketStatus,
|
||||
Source: resp.Source,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user