Any Idea on how to change the DATE format that is being displayed in history table in skuid

  • 1
  • Question
  • Updated 3 years ago
  • Answered
  • (Edited)
Hi,

Please take a look at the snapshot attached here and help me how to change the DATE/TIME format displayed for OLD VALUE and NEW VALUE fields in the History Table.

Simply: At Present the date is displayed like = 2015-07-15T16:32:10.000+0000 BUT I wanna make it look like 7/15/2015 9:32 am


Photo of KVin

KVin

  • 1,158 Points 1k badge 2x thumb

Posted 3 years ago

  • 1
Photo of Zach McElrath

Zach McElrath, Employee

  • 49,036 Points 20k badge 2x thumb
Venky, in the next major release of Skuid (coming out very soon!) we are going to be improving some rendering logic for special "ANYTYPE" fields, e.g. the Old Value and New Value fields in Field History tables, such that they will display the appropriate rendering format for the value that's present --- for instance if the value is a DateTime it will be displayed in the appropriate DateTime format, or if it is a number it will be displayed as a number.

This could also be done with a Custom Field Renderer Snippet, but if you can wait on this for a bit, I'd say just wait for us to improve it in core Skuid.
Photo of KVin

KVin

  • 1,158 Points 1k badge 2x thumb
Hey Zach,

Thanks for your quick response.
I am quite new to this squid and no idea how to start for snippet to get this done.

can you throw some light on to how to start ?
Photo of Zach McElrath

Zach McElrath, Employee

  • 49,036 Points 20k badge 2x thumb
Hi Venky, can this wait about a month until our next major release comes out? If not I can assist with a snippet, but otherwise it would be better to wait and it will be fixed by the next Skuid release.