On Wed, Feb 26, 2014 at 10:24 AM, Jeremy Baron <[email protected]>wrote:
> Speaking of timestamp format, examples in api.php seem wrong for > basetimestamp. > > The examples use entirely numeric timestamp like you get when paging > through [[special:log]] (in browser not API) The format returned by > prop=revisions&rvprop=timestamp does match the format you described. > Those should work too, as should any other format recognized by MWTimestamp::setTimestamp().[1] But feel free to submit patches to update the api.php documentation. [1]: https://git.wikimedia.org/blob/mediawiki%2Fcore.git/8c9c245f2ff506de275a5cabdcfdd5977a12963e/includes%2FMWTimestamp.php#L76 -- Brad Jorsch (Anomie) Software Engineer Wikimedia Foundation _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
