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
Assignees
Milestone

Comments

@neocotic
Copy link
Member

@neocotic neocotic commented Nov 30, 2011

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

@neocotic neocotic commented Dec 12, 2011

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

@neocotic
Copy link
Member Author

@neocotic neocotic commented Dec 21, 2011

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.

@neocotic neocotic closed this Dec 21, 2011
@neocotic neocotic added the accepted label Nov 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.