~ubuntu-clock-dev/ubuntu-clock-app/reboot-packaging

« back to all changes in this revision

Viewing changes to app/alarm/AlarmSettingsPage.qml

  • Committer: Nekhelesh Ramananthan
  • Date: 2014-07-29 12:00:28 UTC
  • mto: (37.1.1 reboot)
  • mto: This revision was merged to the branch mainline in revision 37.
  • Revision ID: krnekhelesh@gmail.com-20140729120028-821ujpa5c9li7w5a
Remove hardcoded time format in the settings page and follow the user locale

Show diffs side-by-side

added added

removed removed

Lines of Context:
174
174
        SubtitledListItem {
175
175
            text: i18n.tr("Change time and date")
176
176
            subText: {
177
 
                /*
178
 
                  FIXME: When the upstream QT bug at
179
 
                  https://bugreports.qt-project.org/browse/QTBUG-40275 is fixed
180
 
                  it will be possible to receive a datetime object directly
181
 
                  instead of using this hack.
182
 
                */
183
177
                var localTime = new Date
184
178
                        (
185
179
                            localTimeSource.localDateString.split(":")[0],