fixed the time for templates

This commit is contained in:
Sarah Faey 2022-11-30 18:16:56 +01:00
parent 601b6b87ed
commit c94d634c87

View file

@ -310,7 +310,7 @@
_template.TimeZone = await TimeZoneService.GetUserTimeZone();
_template.StartTime =_raidDate.Date + _startTime.TimeOfDay;
if(_startTime.TimeOfDay > _endTime.TimeOfDay)
if(_startTime.TimeOfDay <= _endTime.TimeOfDay)
{
_template.EndTime = _raidDate.Date + _endTime.TimeOfDay;
}