Comments (1)
The following functionality can already be handled by ilib and/or the JDK itself. For those cases where the JDK provides the right thing already, we should modify the Reinhardt filters themselves, since the JDK is always guaranteed to be there. For those functions that require some other code, we should leave them alone (with the caveats in the documentation) and make an ilib-filters Ringo package that implements them.
Can be implemented in Reinhardt filters using the JDK:
- date and time formatting - java.text.DateFormat - Although ilib has a more extensive and flexible date formatting library than the JDK and supports a lot more calendars, so ilib-filters will also offer that as well.
- arrays.sortByKey - java.text.Collator
- strings.floatformat - java.text.NumberFormat
- strings.truncatewords, strings.wordcount, strings.wordwrap - java.text.BreakIterator
These should be implemented in a separate package like ilib-filters:
- logic.yesno
- strings.title
- strings.ljust
from reinhardt.
Related Issues (18)
- improve configuration HOT 1
- {% filter %} incorrectly accepting 'escape'
- ifchanged templatetag rendered its content twice
- Autoescaping {% cycle %} and {% firstof %} templatetags.
- Smarter tokenizing of {% for %} tag arguments. HOT 1
- improve filterexpression regex HOT 1
- INVALID should default to empty string HOT 1
- {% url %} tag for stick
- date filter doesn't handle java.util.Date HOT 1
- rename all filters lowercamelCase
- support easier creation of tags with tag helper functions HOT 1
- investigate need for RequestContext
- port from django - collection bug
- Make truncatechars character configurable HOT 2
- Documentation: How are custom filters / tags enabled? HOT 2
- filters not unicode safe HOT 1
- specify template file encoding HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reinhardt.