Servoy: mod_datejs v0.5

I’ve checked in mod_datejs v0.5 to Google Code.  This is a Servoy module that adapts the functions of the excellent Date.js library for use in Servoy, and is distributed under the same MIT-style license.

I haven’t fully adapted the test suite from the original, but I have pretty good test coverage and everything in the library is now functional, so you should be able reference the documentation at the Date.js site.

This version finally works out a little niggle I was having with the parse method, so Date.parse() now works with all the varieties of cool options for translating natural language dates.  When used in combination with “converter” field types in Servoy, you can get rid of the clunky default date control and just let users type things in your date fields.  I’ll post documentation, and probably a screencast, on this technique in the coming weeks.

Enjoy!

Leave a Reply

Switch to our mobile site