On Feb 26, 2014 9:14 AM, "Petr Bena" <[email protected]> wrote:
> How do you get current wiki time, so that you can either calculate the
> timezone or use the time?

How about using basetimestamp instead?

https://en.wikipedia.org/w/api.php says:
> basetimestamp - Timestamp of the base revision (obtained through
prop=revisions&rvprop=timestamp). Used to detect edit conflicts; leave
unset to ignore conflicts
>
> starttimestamp - Timestamp when you obtained the edit token. Used to
detect edit conflicts; leave unset to ignore conflicts

-Jeremy
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to