mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-18 04:40:36 +01:00
use UTC when predefining new events date
This commit is contained in:
parent
cd0d134fb8
commit
70758e7d65
@ -90,8 +90,8 @@ public class EventActivity extends SimpleActivity implements DBHelper.DBOperatio
|
|||||||
|
|
||||||
private void setupNewEvent(String dayCode) {
|
private void setupNewEvent(String dayCode) {
|
||||||
setTitle(getResources().getString(R.string.new_event));
|
setTitle(getResources().getString(R.string.new_event));
|
||||||
mEventStartDateTime = Formatter.getDateTimeFromCode(dayCode).withZone(DateTimeZone.getDefault()).withHourOfDay(13);
|
mEventStartDateTime = Formatter.getDateTimeFromCode(dayCode).withZone(DateTimeZone.UTC).withHourOfDay(13);
|
||||||
mEventEndDateTime = Formatter.getDateTimeFromCode(dayCode).withZone(DateTimeZone.getDefault()).withHourOfDay(14);
|
mEventEndDateTime = Formatter.getDateTimeFromCode(dayCode).withZone(DateTimeZone.UTC).withHourOfDay(14);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void hideKeyboard() {
|
private void hideKeyboard() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user