Skip to main content
12-Amethyst
Oct 26, 2023 11:54 AM UTC
Solved

refreshing the datetime property after pressing Save on the item

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

 

 

12-Amethyst
Oct 27, 2023 5:10 AM UTC

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

2 replies

16-Pearl
Oct 26, 2023 6:17 PM UTC

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 

Translate
JK_1056523212-AmethystAuthorAnswer
12-Amethyst
Oct 27, 2023 5:10 AM UTC

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

Translate