Testing fix for incorrect date/time displays in creator commit 2/?

This commit is contained in:
NovaFox161
2020-05-10 22:42:57 -05:00
parent c6116976be
commit 449710115e

View File

@@ -493,8 +493,7 @@ public class EventCommand implements Command {
DateTime dateTimeV = new DateTime(dateObjV);
EventDateTime eventDateTimeV = new EventDateTime();
eventDateTimeV.setDateTime(dateTimeV);
eventDateTimeV.setTimeZone(pre.getTimeZone());
pre.setViewableStartDate(eventDateTimeV);
pre.setViewableStartDate(eventDateTime);
//To streamline, check if event end is null, if so, apply 1 hour duration!
if (pre.getEndDateTime() == null) {