Author: matthew.britton
Description:
patch against r61408
Knowing the server time is useful for a number of reasons; the particular reason in my case is to approximate the time difference between client and server and so get a rough estimate of the timestamp on incoming IRC RC feed items, as the feed itself doesn't provide this.
Currently, it is possible to get the server time through the API by using action=parse&text={{CURRENTTIMESTAMP}}. However, this is a bit awkward, and involves an extra request as 'parse' and 'query' actions can't be combined.
The attached patch adds a 'time' attribute to the output of meta=siteinfo, in the format used for timestamps elsewhere in the API.
Version: unspecified
Severity: enhancement
attachment time.patch ignored as obsolete