Thank you for putting me on track once again. Where shall I write this polyfill code ... in my map.js?
where is the module outputing the things such as"ahout 6 hours ago"
sunqi last edited by
i guess there should be some tpl files to achieve this kind of function but i can't find
or in js code ?
As I can see within the lavender-themes js-file it's a plugin of jQuery: create a span with title like
utils.toISOString(post.lastposttime)), select it with jQuery and call
Within templates I guess you just need to give the span the correct title and class
PS: not tested anything
which is still our own hand-rolled string
I actually didn't realize this. I happened to hand-roll my own fn for pewter (see this)
maybe make it publically available so I can just call that instead. whichever of our two functions that's better