johm
johm copied to clipboard
support for Date fields
should be able to store Date fields, probably in redis it could be a timestamp
I am taking this one up. Please give a shout out if someone is already on it.
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.
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
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