~ci-train-bot/ubuntu-settings-components/ubuntu-settings-components-ubuntu-yakkety-landing-078

« back to all changes in this revision

Viewing changes to plugins/Ubuntu/Settings/Components/Calendar.qml

  • Committer: Bileto Bot
  • Author(s): Lukáš Tinkl
  • Date: 2016-09-09 14:38:53 UTC
  • mfrom: (162.1.3 calendarDoubleThirty)
  • Revision ID: ci-train-bot@canonical.com-20160909143853-xc2chpzog3lby400
Calculate the days to add for the next week correctly (LP: #1620496)

Approved by: Albert Astals Cid, Unity8 CI Bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
    property bool collapsed: false
26
26
    property var currentDate: new Date(priv.selectedDay.year, priv.selectedDay.month, 1)
27
 
    property var firstDayOfWeek: Qt.locale(i18n.language).firstDayOfWeek
 
27
    property int firstDayOfWeek: Qt.locale(i18n.language).firstDayOfWeek
28
28
    property var maximumDate
29
29
    property var minimumDate
30
30
    property var selectedDate: new Date(priv.today.year, priv.today.month, priv.today.day)