プロジェクト

全般

プロフィール

Vote #78227

未完了

Option to set current date as a default value of date format custom field

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Custom fields_14
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
14
version_id:
33
issue_org_id:
25035
author_id:
332
assigned_to_id:
0
comments:
5
status_id:
1
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

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 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0