Scott Murphy
Scott Murphy
> Looks useful! > > I find the `DisplayType` values a bit unintuitive. Suggestion: > > ``` > DisplayType.ALL -> DisplayType.ALWAYS > DisplayType.NONE -> DisplayType.NEVER > DisplayType.INPUT_ONLY -> DisplayType.WRITE_ONLY >...
@jamesfredley it already does that but the default behavior is to render: https://github.com/apache/grails-core/blob/c27742f9ad64b361ad39dabe9e090e938dc256ca/grails-gsp/plugin/src/main/groovy/org/grails/plugins/web/taglib/FormatTagLib.groovy#L187 otherwise there is a type parameter for date, time, and anything else https://github.com/apache/grails-core/blob/c27742f9ad64b361ad39dabe9e090e938dc256ca/grails-gsp/plugin/src/main/groovy/org/grails/plugins/web/taglib/FormatTagLib.groovy#L193-L201
https://github.com/apache/grails-core/pull/15146 https://github.com/apache/grails-core/blob/c27742f9ad64b361ad39dabe9e090e938dc256ca/grails-fields/grails-app/taglib/grails/plugin/formfields/FormFieldsTagLib.groovy#L949-L973 https://github.com/apache/grails-core/pull/15118 - introduces second precision on date picker and time-stamping Date picker should also be updated to support time only as well as optional millisecond and nanosecond precision...
@jamesfredley yeah, I know, I am just adding context because we need to discuss it more. I still don't think we have a final solution and I am looking for...
```yml grails: databinding: dateFormats: # used when parsing posted form fields - "yyyy-MM-dd'T'HH:mm:ss.SSSX" - "yyyy-MM-dd'T'hh:mm:ss'Z'" - "yyyy-MM-dd HH:mm:ss.S z" - "yyyy-MM-dd HH:mm:ss.S" - "yyyy-MM-dd'T'HH:mm:ssZ" - "yyyy-MM-dd'T'HH:mm:ss" - "yyyy-MM-dd HH:mm:ss" -...
@jdaugherty I am saying `g:dateFormat` already supports 3 format types. I haven't dug deep enough to see if they are overridable. At first glance it looked to me like if...
@jamesfredley where did you get this yml code from? ```yml grails: databinding: dateFormats: # used when parsing posted form fields - "yyyy-MM-dd'T'HH:mm:ss.SSSX" - "yyyy-MM-dd'T'hh:mm:ss'Z'" - "yyyy-MM-dd HH:mm:ss.S z" - "yyyy-MM-dd...
> That yml was copied from one of my apps. > > https://grails.apache.org/docs/snapshot/guide/theWebLayer.html#_date_formats_for_data_binding pointed me in that direction years and years ago. It needs to be updated with the full...
GRAILS 6+ BUG: autoTimestampEventListener.without* Results in Unexpected Behavior Across All Threads
This is a pretty major bug. It is so dangerous that the functionality should be removed if it is not fixed. If during at any point you use this feature,...
GRAILS 6+ BUG: autoTimestampEventListener.without* Results in Unexpected Behavior Across All Threads
@jdaugherty yes, it seems like it was always broken. We either need to fix or remove it. This bug resulted in losing about 16 hours of my time repairing data.