date-data field doesn't update when page is edited

  • 1
  • Question
  • Updated 2 years ago
When the date-data field is used in conjunction with the "now" parameter, the date updates the first time edit contents is used but then does not update after that.  Is this expected behavior?  Has it always functioned this way?
Photo of Kathryn Moye

Kathryn Moye

  • 223 Posts
  • 12 Reply Likes

Posted 2 years ago

  • 1
Photo of Suresh Mathusuthanan

Suresh Mathusuthanan, Alum

  • 117 Posts
  • 9 Reply Likes
Hi Kathryn,

The parameter "now" in date-data macro is actually the default value you can use for date-data macro. After you edit content and save the page for the first time, the date-data will pick the time that you first edited the content. 

After that the value will be stored in scaffolding xml and the value after that will not be updated according to your real-time as it will pick up the data from scaffolding xml instead.

Thanks.

Regards,
Suresh
Photo of Kathryn Moye

Kathryn Moye

  • 223 Posts
  • 12 Reply Likes
Thanks for the explanation
Photo of Suresh Mathusuthanan

Suresh Mathusuthanan, Alum

  • 117 Posts
  • 9 Reply Likes
Hi Kathryn,

You're welcome, we are more than happy to assist you on this and glad that it gave you a clear picture.

Please feel free to contact us if there is anything we can assist you with.

Have a nice day!

Cheers,
Suresh