luyao 4 months ago
parent 4b36c752ad
commit 557b8cc15c

@ -56,7 +56,8 @@ public class DateTimePickerDialog extends AlertDialog implements OnClickListener
}
});
mDate.setTimeInMillis(date);
mDate.set(Calendar.SECOND, 0);
mDate.set(Calendar.SECOND, 1);
mDateTimePicker.setCurrentDate(mDate.getTimeInMillis());
setButton(context.getString(R.string.datetime_dialog_ok), this);
setButton2(context.getString(R.string.datetime_dialog_cancel), (OnClickListener)null);

Loading…
Cancel
Save