johm icon indicating copy to clipboard operation
johm copied to clipboard

support for Date fields

Open xetorthio opened this issue 14 years ago • 4 comments

should be able to store Date fields, probably in redis it could be a timestamp

xetorthio avatar Feb 04 '11 17:02 xetorthio

I am taking this one up. Please give a shout out if someone is already on it.

gsharma avatar Feb 11 '11 21:02 gsharma

I'm store date in "yyyy-MM-dd HH:mm:ss.SSSZ"-format (aa35426ee95e195d5c2bb3d7720336d422910c83) and it's easy to switch to timestamp, but I think we need pluginable Converter.

Bessonov avatar Jul 23 '11 22:07 Bessonov

Sounds like a great feature! We should think the best way to do this though.

On 7/23/11, Bessonov [email protected] wrote:

I'm store date in "yyyy-MM-dd HH:mm:ss.SSSZ"-format (aa35426ee95e195d5c2bb3d7720336d422910c83) and it's easy to switch to timestamp, but I think we need pluginable Converter.

Reply to this email directly or view it on GitHub: https://github.com/xetorthio/johm/issues/34#issuecomment-1639061

xetorthio avatar Jul 23 '11 23:07 xetorthio

Maybe Converter-Interface like from faces, one (current) implementation and a method to set another converter?

http://download.oracle.com/docs/cd/E17802_01/j2ee/j2ee/javaserverfaces/1.2/docs/api/javax/faces/convert/Converter.html

Bessonov avatar Jul 23 '11 23:07 Bessonov