<time pubdate datetime="2009-10-09">1 day ago</time>
I tried:
TAG.time('1 day ago', _pubdate=True,
_datetime=str(datetime.year) + '-' + '%02d' % datetime.month + '-' + '%02d' % datetime.day)
And got:
<time datetime="2009-10-09" pubdate="pubdate">1 day ago</time>
Here I can read:
http://www.web2py.com/init/default/examples
"attributes without value like "READONLY" can be created with the argument "_readonly=ON"."
But not _pubdate=True, nor _pubdate=ON (wich is deprecated and just an alias for True according to chapter 5) does not work for me and generates pubdate="pubdate".
@mdipierro: [...]
BTW2: the referenced page with the new style is a pain to read
So, @Kirill, there's no way but ending up with _pubdate='' will give you a syntactically equivalent markup.