Hi @all,
do you have any idea how to unify date formats in various WPs via URL?
my aim is to compare revision date/time from different WP versions and it would be great to have the same date format for every version of WP that I am looking at.
Does anyone know a solution for the Wikipedias that do not offer the format I consider most useful, namely the format starting with 2013-...?
I am seeking a solution via URL, i.e. one that can be used (and replicated) by any user who has no extra rights or any particular database query expertise for the WP universe.
for a previous exchange on this topic see http://meta.wikimedia.org/wiki/Wikimedia_Forum#Date_formats_in_various_ Wikipedias
thanks & cheers, Claudia koltzenburg@w4w.net
How about using the API for this? It appears to always return timestamps in UTC, and they're in a standardised format, e.g:
http://en.wikipedia.org/w/api.php?action=query&titles=Physics&prop=i... http://no.wikipedia.org/w/api.php?action=query&titles=Fysikk&prop=in... http://ja.wikipedia.org/w/api.php?action=query&titles=%E7%89%A9%E7%90%86...
For more documentation see http://en.wikipedia.org/w/api.php , specifically the sections for "action=query" and "prop=revisions".
Cheers, Morten
On 29 January 2013 02:15, koltzenburg@w4w.net wrote:
Hi @all,
do you have any idea how to unify date formats in various WPs via URL?
my aim is to compare revision date/time from different WP versions and it would be great to have the same date format for every version of WP that I am looking at.
Does anyone know a solution for the Wikipedias that do not offer the format I consider most useful, namely the format starting with 2013-...?
I am seeking a solution via URL, i.e. one that can be used (and replicated) by any user who has no extra rights or any particular database query expertise for the WP universe.
for a previous exchange on this topic see http://meta.wikimedia.org/wiki/Wikimedia_Forum#Date_formats_in_various_ Wikipedias
thanks & cheers, Claudia koltzenburg@w4w.net
Wiki-research-l mailing list Wiki-research-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wiki-research-l
wiki-research-l@lists.wikimedia.org