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

« back to all changes in this revision

Viewing changes to app/clock/ClockPage.qml

  • Committer: Nekhelesh Ramananthan
  • Date: 2014-07-26 09:34:15 UTC
  • mto: (37.1.1 reboot)
  • mto: This revision was merged to the branch mainline in revision 37.
  • Revision ID: krnekhelesh@gmail.com-20140726093415-67r3x357o0fnq08n
Initial working version

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
 
40
40
    Component.onCompleted: Utils.log(debugMode, "Clock Page loaded")
41
41
 
42
 
    function updateTime() {
43
 
        clock.analogTime = new Date()
44
 
        clock.time = Qt.formatTime(clock.analogTime)
45
 
    }
46
 
 
47
42
    Flickable {
48
43
        id: _flickable
49
44
 
109
104
            anchors.topMargin: units.gu(36)
110
105
            anchors.horizontalCenter: parent.horizontalCenter
111
106
 
112
 
            text: Qt.formatDate(new Date(), "dddd, d MMMM yyyy")
 
107
            text: Qt.formatDate(clock.analogTime, "dddd, d MMMM yyyy")
113
108
            fontSize: "xx-small"
114
109
 
115
110
            Behavior on anchors.topMargin {