Warning BC Break: Use Globalize.js date format.
Move functions definition outside a loop.
Add options getter.