Feature #25035

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

Added by Go MAEDA almost 2 years ago. Updated 2 months ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Custom fields
Target version:4.1.0
Resolution:

Description

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: Create a Custom Field that defaults to the Current Date

cf-current-date.png (35.3 KB) Go MAEDA, 2017-02-08 14:57

add_current_date.patch Magnifier (4.26 KB) Mizuki ISHIKAWA, 2018-08-30 09:42


Related issues

Related to Redmine - Feature #20382: Date Custom Field Defaut Value New

History

#1 Updated by Go MAEDA almost 2 years ago

#2 Updated by Mizuki ISHIKAWA 3 months ago

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.

#3 Updated by Go MAEDA 3 months ago

  • Target version set to Candidate for next minor release

Thank you for sharing the patch. The patch looks fine.

#4 Updated by Go MAEDA 2 months ago

  • Target version changed from Candidate for next minor release to 4.1.0

What do you all think about this patch? Feedbacks welcome.

Also available in: Atom PDF