fix passing date in careportal
This commit is contained in:
parent
3d238e3adb
commit
b56d3223ab
1 changed files with 1 additions and 1 deletions
|
@ -301,7 +301,7 @@ public class NewNSTreatmentDialog extends DialogFragment implements View.OnClick
|
|||
|
||||
@Override
|
||||
public void onDateSet(DatePickerDialog view, int year, int monthOfYear, int dayOfMonth) {
|
||||
eventTime.setYear(year);
|
||||
eventTime.setYear(year - 1900);
|
||||
eventTime.setMonth(monthOfYear);
|
||||
eventTime.setDate(dayOfMonth);
|
||||
DateFormat df = DateFormat.getDateInstance(DateFormat.SHORT);
|
||||
|
|
Loading…
Reference in a new issue