datetime icon indicating copy to clipboard operation
datetime copied to clipboard

Match Date field with default value

Open designermonkey opened this issue 11 years ago • 5 comments

Can you add the same functionality to default the date to a PHP date string? Like we've done with the default Date field.

:)

designermonkey avatar May 01 '14 15:05 designermonkey

In general, yes. But it will take a while – too many UI related things broke in 2.4. It would be great if this would become a real extension of the core field where Date and Time only adds the multi-date functionality on top of the date field. symphonycms/symphony-2#2002 is related to this.

nilshoerrmann avatar May 01 '14 16:05 nilshoerrmann

Yeah, no problem.

designermonkey avatar May 01 '14 16:05 designermonkey

Can you add the same functionality to default the date to a PHP date string? Like we've done with the default Date field.

@designermonkey I'd love to solve this, but what to you mean exactly ?

nitriques avatar Aug 31 '14 23:08 nitriques

@nitriques: The request is to replace the checkbox "Pre-populate with today's date" with an input were the default date can be defined as string (e. g. today or now).

nilshoerrmann avatar Nov 21 '14 09:11 nilshoerrmann

Ooooo ok! Thanks for the explanation

nitriques avatar Nov 21 '14 15:11 nitriques