anytype-ts
anytype-ts copied to clipboard
Date properties in templates: "today" functionality not working as expected
Have you read a contributing guide?
- [x] I have read CONTRIBUTING.md
- [x] I have searched the existing requests and didn't find any that were similar
- [x] I have considered creating a pull request instead and want to proceed
Clear and concise description of the problem
In template when I set a Date property as "today", I'm expecting that new objects will be created with the current date. However, the system treats "today" as the static date when the template was created. For example, if I created a template on March 23rd with "today" date, all new objects will have March 23rd in this field, even when created on March 24th or later.
Suggested solution
Add a checkbox or toggle option that distinguishes between:
Static date (e.g., March 24th) - the specific date when template was created Dynamic "today" - which will always use the actual current date when a new object is created from the template
This would allow templates to properly use relative dates that update dynamically for each new instance.
Alternative
No response
Additional context
No response