~pkunal-parmar/ubuntu-calendar-app/ICalImport

« back to all changes in this revision

Viewing changes to MonthView.qml

Merged trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 * You should have received a copy of the GNU General Public License
16
16
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
17
 */
18
 
import QtQuick 2.0
 
18
 
 
19
import QtQuick 2.3
19
20
import Ubuntu.Components 1.1
20
21
import "dateExt.js" as DateExt
21
22
import "colorUtils.js" as Color
35
36
           iconName: "calendar-today"
36
37
           text: i18n.tr("Today")
37
38
           onTriggered: {
38
 
               currentDay = new Date()
39
 
               goToBeginning()
 
39
               currentMonth = new Date().midnight()
40
40
           }
41
41
       }
42
42