remove todo
This commit is contained in:
parent
5c2a9f85d4
commit
5e5fc203cc
1 changed files with 1 additions and 2 deletions
|
@ -208,8 +208,7 @@ public class TreatmentsFragment extends Fragment implements View.OnClickListener
|
||||||
NSProfile profile = MainApp.getConfigBuilder().getActiveProfile().getProfile();
|
NSProfile profile = MainApp.getConfigBuilder().getActiveProfile().getProfile();
|
||||||
if (profile == null)
|
if (profile == null)
|
||||||
return;
|
return;
|
||||||
// TODO: implement locales
|
DateFormat df = DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.SHORT);
|
||||||
DateFormat df = DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.SHORT, new Locale("cs", "CZ"));
|
|
||||||
holder.date.setText(df.format(treatments.get(position).created_at));
|
holder.date.setText(df.format(treatments.get(position).created_at));
|
||||||
holder.insulin.setText(formatNumber2decimalplaces.format(treatments.get(position).insulin) + " U");
|
holder.insulin.setText(formatNumber2decimalplaces.format(treatments.get(position).insulin) + " U");
|
||||||
holder.carbs.setText(formatNumber0decimalplaces.format(treatments.get(position).carbs) + " g");
|
holder.carbs.setText(formatNumber0decimalplaces.format(treatments.get(position).carbs) + " g");
|
||||||
|
|
Loading…
Reference in a new issue