-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Rob Church wrote:
On 18/06/07, Yuri Astrakhan yuriastrakhan@gmail.com wrote:
I needed that so that API users, who should not be using internal wiki timestamps but instead use ISO ones. The alternative was for me to decode expiry field value myself (the IF statement). Obviously I could go that route, but there goes the code/concepts reuse :)
You could just pass the result through wfTimestamp() and get it converted to the desired format...
The difficulty is that it's _sometimes_ a timestamp and _sometimes_ the special value 'infinity', so you have to special case crap everywhere. Personally I think it's rather icky to begin with. :P :)
- -- brion vibber (brion @ wikimedia.org)