Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Tags: dateTime #51

Closed
neocotic opened this issue Nov 30, 2011 · 2 comments
Closed

New Tags: dateTime #51

neocotic opened this issue Nov 30, 2011 · 2 comments

Comments

@neocotic
Copy link
Member

As suggested by Jim Leis, it would be extremely useful if the date/time could be accessible via a new tag/tags.

This should be added as a function that will take a date format string and output the parsed current date/time. If the format string is invalid an error should be displayed. If no format string is provided (either empty or called as a simple tag) then a predefined format string will be used to parse the current date/time instead.

Embedded documentation will need to be updated.

@ghost ghost assigned neocotic Nov 30, 2011
@neocotic
Copy link
Member Author

I'll use my new library, date.js, to handle this.

@neocotic
Copy link
Member Author

I'll be delivering a fix for a bug introduced by #54 along with this as well as fix for a bug I noticed with mustache.js which prevented functions being called with no contents or as simple tags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant