Closed (duplicate)
Project:
Date
Version:
7.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Mar 2009 at 21:16 UTC
Updated:
23 Jan 2012 at 12:04 UTC
Does anybody know if there's a way to set the To Date to always be the current date? So, whenever that field is viewed, it would show the current date of the person viewing, not the date the field was populated.
An example would be using date ranges, say the start and end date of a meteorological station or a restaurant. The end date in many cases should signify "currently still operating."
I'm not even sure if this is possible with Drupal. Thanks.
Comments
Comment #1
karens commentedSomeone else brought this up recently with a use case of wanting an item to show something like '1/2/2008-current' in a resume. There is probably no easy way to do this now except with a form_alter, which would probably be messy, so this would be a feature request.
Comment #2
diodata commentedYep, that's another example I was thinking of, using dates on our staff profile pages. Thanks for the info. I'll submit a feature request.
OK. I see you already changed this ticket to a feature request. Thanks.
Comment #3
drewish commentedinitially i thought it was a bug report... i've got to dates that are always set to the current date... guess i'll keep looking.
Comment #4
ndm commentedI must use this function too. I subscribe for this feature. Good idea.
Comment #5
NathanM commentedSubscribing. Would also like it to be able to show "Current", "Now", or "Present", rather than simply having the date constantly update itself. Other use case scenarios could include availability date fields, for contract workers, bands, etc. They could list their dates they are available as "Now until xxx".
Comment #6
LTech commentedIs there a way to do this now? Show 'current' or 'present'? I'm using drupal 7.
Comment #7
arlinsandbulte commentedBumping feature requests to D7.x
Also, this is a duplicate of an existing feature request.
#1240526: Allow value 'present' in the to field