uwazi icon indicating copy to clipboard operation
uwazi copied to clipboard

Support for date + time in date fields

Open txau opened this issue 6 years ago • 5 comments

txau avatar Mar 14 '18 17:03 txau

Can we set the masks as a selectable dropdown with predefined options inside the property?

  • Year (2018)
  • Year and month (Mar 2018)
  • Year, month and day (Mar 14, 2018)
  • Year, month, day and time (Mar 14, 2018 19:24).

danicatalan avatar Mar 14 '18 18:03 danicatalan

We have to reconcile this with the date format we already have in settings.

txau avatar Mar 15 '18 11:03 txau

I though the same yesterday but then I realized date settings only affect the input (not the render), so the mask doesn't need to know which format is used to decide how to render the date.

danicatalan avatar Mar 15 '18 14:03 danicatalan

This could be addressed when updating the template creator or the metadata form.

RafaPolit avatar Nov 24 '23 14:11 RafaPolit

We've just run into this feature request as well :) Would love support for datetime objects indeed. cc @makew0rld

basilesimon avatar Mar 27 '24 14:03 basilesimon