CHANGE: added encrypted password auth, TODO: add change and add passwd functions
This commit is contained in:
@@ -215,7 +215,7 @@ func (b *Booking) UpdateTime(newTime time.Time){
|
||||
// TODO: add check for time overlap
|
||||
|
||||
var newBooking Booking
|
||||
newBooking.Timestamp = time.Date(b.Timestamp.Year(), b.Timestamp.Month(), b.Timestamp.Day(), hour, minute, 0, 0, time.Local).UTC()
|
||||
newBooking.Timestamp = time.Date(b.Timestamp.Year(), b.Timestamp.Month(), b.Timestamp.Day(), hour, minute, 0, 0, time.Local)
|
||||
if(b.CheckInOut < 3){
|
||||
newBooking.CheckInOut = b.CheckInOut + 2
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user