mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
time
This commit is contained in:
@@ -171,7 +171,7 @@ export class EditEventPage implements OnInit {
|
||||
});
|
||||
}
|
||||
|
||||
roundTimeQuarterHour(timeToReturn?) {
|
||||
roundTimeQuarterHour(timeToReturn = new Date()) {
|
||||
let date = timeToReturn || new Date();
|
||||
const minutes = date.getMinutes();
|
||||
date.setSeconds(0);
|
||||
|
||||
Reference in New Issue
Block a user