Forum:Date problem with blizzEUforumlink

From Warcraft Wiki
Jump to navigation Jump to search
Forums: Village pump → Date problem with blizzEUforumlink
(This topic is archived. Please do not edit this page!)

So, I have the following wikicode for my {{blizzEUforumlink}}:

{{blizzEUforumlink|topicid=9521232256|postid=95199155183|sid=1#0|author=Ancilorn|subject=0. Mobile Authenticator Available In Europe!|datetime=02/06/2009 12:12:54 PDT}}

As I understand it, the date 02/06/2009 means June 2nd, 2009, but when I run it through the template...

I get: 0. Mobile Authenticator Available In Europe! | 2009-02-06 19:12 by Ancilorn

Looking at the template it is using #time to translate the date/time, but doing it incorrectly for 02/06/2009 and yielding 2009-02-06 which could be interpreted as February 6th, 2009.

Is just a limitation of #time, or is there some magic string to pass #time so it won't munge the date? --Gengar orange 22x22.pngBeware the sneaky smile! Fandyllic (talk · contr) 11:57 PM PST 7 Oct 2009

I guess it's assuming use of US date formats when reordering, hence the possibility of month and day getting mixed up. Not sure there's any simple solution apart from checking date ordering, or trying to specify to the template which type of date it is. As for help, I found [1]. Kirkburn  talk  contr 16:15, October 12, 2009 (UTC)
Dates are in yyyy-mm-dd format per Project:MOS. Any other rendering does not have to be supported in templates. --Pcj (TDrop me a line!C207,729 contributions and counting) 18:36, October 12, 2009 (UTC)
Okay, this makes me think there is no easy way to fix this problem, so I will just add some info to the template to change date formats from what they are usually in EU forums (dd/mm/yyyy) to yyyy/mm/dd when using the template. --Gengar orange 22x22.pngBeware the sneaky smile! Fandyllic (talk · contr) 10:56 PM PST 12 Oct 2009