mirror of
https://github.com/DreamExposure/DisCal-Discord-Bot.git
synced 2026-02-08 20:39:18 -06:00
Testing fix for incorrect date/time displays in creator commit 2/?
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user