I am looking for display for each user: l'utilisateur est crée le $date à $time not $document-> name est crée le $document->created
2016-07-18 16:48 GMT+01:00 Erick Erickson <erickerick...@gmail.com>: > I don't see how that relates to the original > question. > > bq: when I display the field type date I get the > value in this forme yyyy-MM-dd'T'hh:mm:ss'Z' > > A regex in the _input_ side will have > no effect on what Solr returns. You'd have > to use a DocTransformer to change the output > on the query side. DIH is in the indexing side. > > Best, > Erick > > On Mon, Jul 18, 2016 at 2:45 AM, kostali hassan > <med.has.kost...@gmail.com> wrote: > > can we use transformer="RegexTransformer" > > and set in db_data_config.xml > > <field column="created" name="creer_dt" regex="(*)T(*)Z" > > groupNames="date_t,time_t" /> > > > > 2016-07-16 18:18 GMT+01:00 Shawn Heisey <apa...@elyograg.org>: > > > >> On 7/15/2016 3:10 PM, kostali hassan wrote: > >> > Thank you Shawn the prb is when I display the field type date I get > >> > the value in this forme yyyy-MM-dd'T'hh:mm:ss'Z' > >> > >> Solr only displays ISO date format for date fields -- an example is > >> 2016-07-16T18:17:08.497Z -- and only in the UTC timezone. If you want > >> something else in your application, you'll have to translate it, or > >> you'll have to write a custom plugin to add to Solr that changes the > >> output format. > >> > >> Thanks, > >> Shawn > >> > >> >