View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007634 | mantisbt | custom fields | public | 2006-12-07 12:02 | 2019-08-08 16:13 |
Reporter | mbogosian | Assigned To | vboctor | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Product Version | 1.0.6 | ||||
Fixed in Version | 1.2.0a1 | ||||
Summary | 0007634: Support relative default for Date Custom Fields (e.g. {tomorrow}, {+2 days}, {next week}) | ||||
Description | When applying filters to or defining defaults for fields of type "Date", relative dates should be allowed. For example: [Today] Let's say one added a "Due" custom field. One could create a filter that showed all issues that needed to be resolved in the next two weeks with the following constraint: "Due" on or before 2 weeks from [Today] One could set the default value of "Due" to be: 5 days from [Today] So that whenever a new issue was filed, that field for that bug would populated with today's date plus 5 days (at the time of its creation). I think this adds much-needed flexibility to the "Date" type field. | ||||
Tags | No tags attached. | ||||
Implemented by svn:5150 The format used for defaulting is {xxxx} where xxxx is a relative date supported by PHP strtotime(), see below for more documentation: Some samples:
|
|