Skip to main content
12-Amethyst
October 26, 2023
Solved

refreshing the datetime property after pressing Save on the item

  • October 26, 2023
  • 1 reply
  • 1136 views

Hello everyone,

I have this problem, I have properties on Thing of the DateTime type and I discovered that even though these properties are marked as persistent, they are refreshed after pressing save with the current date. How to turn it off? Is this a known bug?

 

JK_10565232_0-1698321242336.png

 

 

Best answer by JK_10565232

Hi, 

I found where is problem. 

 

this happens before property is set for the first time. 

When I set the time on the first property it already held the value. 

 

Thank you for answer.

Jan

1 reply

16-Pearl
October 26, 2023

Hello @JK_10565232 

 

Do you mean to say that when you go to Thing >> datetime property and just save it  than it gives you current date? or is it when you edit and set the current datetime value it change the date for you?

Persisting the property means it will save whatever last value you will set and save it 

 

thanks

Om 

JK_1056523212-AmethystAuthorAnswer
12-Amethyst
October 27, 2023

Hi, 

I found where is problem. 

 

this happens before property is set for the first time. 

When I set the time on the first property it already held the value. 

 

Thank you for answer.

Jan