In this code:

Qt Code:
  1. import QtQuick 2.0
  2. import QtQuick.Controls 1.4
  3.  
  4. Item {
  5. id: root
  6. property date value: new Date(2000, 0, 1)
  7. Button {
  8. onClicked: {
  9. root.value.setFullYear(2001)
  10. console.log(root.value)
  11. }
  12. }
  13. }
To copy to clipboard, switch view to plain text mode 

When push the button, why date doesn't change? On the log appears 2000, not 2001