[Pharo] Personal fitness tracker web app.
Updated weight dialog date input method following Pharo 12 new Date syntax.
src/MyFitnessTracker/MFTWeightDialog.class.st
@@ -33,7 +33,8 @@
33
33
html label: 'Date'.
34
34
html dateInput5 formControl
35
35
value: weight date yyyymmdd;
36
Removed:
callback: [ :value | weight date: (Date fromString: value) ] ].
36
Added:
callback: [ :value |
37
Added:
weight date: (Date readFrom: value pattern: 'yyyy-mm-dd') ] ].
37
38
html formGroup: [
38
39
html label: 'Weight'.
39
40
html numberInput formControl