fix date at adding events
This commit is contained in:
parent
72c0b34f63
commit
aa4b77f657
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue