fix date at adding events

This commit is contained in:
tibbi 2016-07-21 23:18:28 +02:00
parent 72c0b34f63
commit aa4b77f657
1 changed files with 2 additions and 2 deletions

View File

@ -90,8 +90,8 @@ public class EventActivity extends SimpleActivity implements DBHelper.DBOperatio
private void setupNewEvent(String dayCode) {
setTitle(getResources().getString(R.string.new_event));
mEventStartDateTime = Formatter.getDateTimeFromCode(dayCode).withZone(DateTimeZone.UTC).withHourOfDay(13);
mEventEndDateTime = Formatter.getDateTimeFromCode(dayCode).withZone(DateTimeZone.UTC).withHourOfDay(14);
mEventStartDateTime = Formatter.getDateTimeFromCode(dayCode).withZoneRetainFields(DateTimeZone.getDefault()).withHourOfDay(13);
mEventEndDateTime = Formatter.getDateTimeFromCode(dayCode).withZoneRetainFields(DateTimeZone.getDefault()).withHourOfDay(14);
}
private void hideKeyboard() {