Vote #78227
未完了Option to set current date as a default value of date format custom field
0%
説明
It would be very useful if we can set current date to a date format custom field when we create a new issue.
Related forum post: message#32348
!cf-current-date.png!
journals
--------------------------------------------------------------------------------
I wrote a patch to realize this feature.
Implementation for setting the default value to current date may not be the best way.
Feedback is welcome.
--------------------------------------------------------------------------------
Thank you for sharing the patch. The patch looks fine.
--------------------------------------------------------------------------------
What do you all think about this patch? Feedbacks welcome.
--------------------------------------------------------------------------------
Mizuki ISHIKAWA wrote:
> I wrote a patch to realize this feature.
>
> Implementation for setting the default value to current date may not be the best way.
> Feedback is welcome.
Thanks for your patch. It's a usefull feature but this patch has the side effect that it makes the string "current_date" a valid value for date custom fields. I think we need a different approach.
--------------------------------------------------------------------------------
related_issues
relates,New,20382,Date Custom Field Defaut Value
Admin Redmine さんがほぼ2年前に更新
- カテゴリ を Custom fields_14 にセット
- 対象バージョン を Candidate for next minor release_33 にセット