Skip to content

sk-ys/redmine_datetime_cf

Repository files navigation

Redmine Datetime CF Plugin

This plugin adds a "Datetime" custom field type to Redmine.

Features

  • Allows input and display of datetime values (date + time, e.g. 2025-12-04 09:30) in custom fields
  • Uses the browser's native datetime picker for user-friendly input (via <input type="datetime-local">)
  • Display formatted according to Redmine settings

Installation

When using git

  1. Clone this repository to your Redmine plugins directory.
    cd YOUR_REDMINE_DIRECTORY/plugins
    git clone https://github.com/sk-ys/redmine_datetime_cf.git
    
  2. Restart Redmine.

When not using git

  1. Download zip file from the release page or the latest main repository.
  2. Extract the ZIP file to your Redmine plugin directory. The name of the unzipped directory must be redmine_datetime_cf.
  3. Restart Redmine.

Usage

  1. Go to Administration > Custom fields and create a new field
  2. Select "Datetime" as the field format
  3. Use the field in issues, projects, etc.

Notes

  • Values are stored in the database in the YYYY-MM-DDTHH:MM format.
  • If Redmine's Setting.date_format and Setting.time_format are set, those formats are used for display
  • Tested with Redmine 5.1 and 6.1

Testing

You can run the plugin's tests with:

bundle exec rake redmine:plugins:test name=redmine_datetime_cf

License

This plugin is licensed under the GNU GENERAL PUBLIC LICENSE Version 2. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published