[BUG] DatePicker property cleared and saved as "" (empty string) when using Setting Groups

Bug:

DatePicker property cleared and saved as "" when using Setting Groups

Use case:

Using a Date setting within a Group

Steps to reproduce:

  1. Create Watfchface with Date setting inside group
  2. Install app onto real device
  3. Edit Date setting and Save in Watchface Settings in ConnectIQ App (Android)
  4. Re-open settings and navigate to group with Date picker

See working example Watchface here: github.com/.../DateTimeData.mc

Observed Behavior:

  • Date setting is blank when re-opening settings
  • Hitting Save on settings now will write an (invalid) blank string "" to Date property

Expected Behavior:

Date value is always saved as Number.
Saved Date value is preserved between each edit/view/save of the container Settings Group
Saved Date value is restored to the Settings Datepicker UI in ConnectIQ App on Android (and iPhone)

Example settings:

<settings>
<group id="other" title="@Strings.other_group" description="@Strings.other_group_desc">
</group>
<group id="here_be_dragons_group" title="@Strings.here_be_dragons_group" description="@Strings.here_be_dragons_group_desc">
<setting propertyKey="@Properties.countdown_date" title="@Strings.countdown_date">
<settingConfig type="date" min="1754028000">
</settingConfig>
</setting>
</group>
</settings>
Example property:
    <property id="countdown_date" type="number">1767225600</property>