actionContext.intl.formatDate problem
I'm running Mojito in OS X 10.7.3.
Going through the code examples, ac.intl.formatDate yields different results for me.
With the generating_urls app, currentTime is always undefined,
but in the locale_i18n app, today gets a correct date value.
Any idea what the difference might be between the two usages that could account for the results I'm getting?
For currentTime, Y.log(new Date()) gives me a correct date time value, but Y.log(ac.intl.formatDate(new Date())) always yields an undefined value.
Anything else I should check or vary to get more diagnostics?
Thanks for any help!
by
3 Replies