More dates

Categories

Component ID

2212053

Component name

More dates

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Module provides additional options for displaying date type fields. You can configure how to show the date for the different values ​​of field.
If the field value
- less than yesterday,
- equally yesterday,
- equally today
- equally tomorrow
- ​​greater than tomorrow.
You can choose any format added to the your site - /admin/config/regional/date-time.

Additionally, field return with html classes:
for "today" - <span class="more-dates-today">Value date field with format for past </span>;
for "yesterday" - <span class="more-dates-yesterday">Value date field with format for yesterday </span>
and etc.

Example of use: you have a node "Event" and you want to show today's date as format "HH:ii", yesterday - as format "DD MM YY", and tomorrow - as "dd FF YY HH:ii".

Related projects:

(if you have a module that you think is related, submit an issue and I will add it here)


git clone --branch 7.x-1.x http://git.drupal.org/sandbox/mbodalova/2212053.git more_dates

Link to project.