Inconsistent Dates

All about the OSDev Wiki. Discussions about the organization and general structure of articles and how to use the wiki. Request changes here if you don't know how to use the wiki.
Post Reply
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Inconsistent Dates

Post by earlz »

I was bored so I bothered using my edit privileges to change the release status of my old JouleOS..
when specifying the release date, I had some problems..the first paragraph uses the normal American type date system (year/day/month) but for the actual projects listing, it is different..it is year/??/?? there is no day that is past 12, so I can't tell what format to use..

Really, I think you should use a more understandable format, like May 5, 2007 rather than 2007/5/5 or 5/5/2007..
User avatar
Kevin McGuire
Member
Member
Posts: 843
Joined: Tue Nov 09, 2004 12:00 am
Location: United States
Contact:

Post by Kevin McGuire »

I used year/month/day.

I have no idea if it was the best way, but I know that I did it to represent the priority of year/month/day in that sequence. As I figured it was more important to know the year and month than the day.
pcmattman
Member
Member
Posts: 2566
Joined: Sun Jan 14, 2007 9:15 pm
Libera.chat IRC: miselin
Location: Sydney, Australia (I come from a land down under!)
Contact:

Post by pcmattman »

Day/Month/Year is the most logical to me, it's left-to-right for a start... All you Americans do everything backwards!
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Post by earlz »

lol..That's the format I use! and I'm American...so I guess some weird country uses it..(Australia?)
User avatar
JAAman
Member
Member
Posts: 879
Joined: Wed Oct 27, 2004 11:00 pm
Location: WA

Post by JAAman »

pcmattman wrote:Day/Month/Year is the most logical to me, it's left-to-right for a start... All you Americans do everything backwards!
no thats not really logical -- thats backwards day/month/year is right to left not left to right (so i guess it would be natural for some language groups)
that would be like writing 4 thousand 2 hundred and eighty-seven as: 7824

year (not day) is the most-significant, so year/month/day sorts correctly, while day/month/year does not -- that said, the default in US is neither -- its month/day/year
pcmattman
Member
Member
Posts: 2566
Joined: Sun Jan 14, 2007 9:15 pm
Libera.chat IRC: miselin
Location: Sydney, Australia (I come from a land down under!)
Contact:

Post by pcmattman »

It's the 6th of June 2007. Left to right.
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post by Brynet-Inc »

The format is clearly causing confusion, Why not just "spell it out"..

As it's clear the format isn't the same in every location.. So instead of adapting to a countries standard, Find a better way.
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
Kevin McGuire
Member
Member
Posts: 843
Joined: Tue Nov 09, 2004 12:00 am
Location: United States
Contact:

Post by Kevin McGuire »

jhawthorn is pretty good with templates. He might have a more automated solution that fits in with the capabilities with templates. Give him a day or two to read the messages.

Unless anyone else wants to give it a try. There is a rollback feature for the wiki pages. :P
User avatar
jhawthorn
Member
Member
Posts: 58
Joined: Sun Nov 26, 2006 4:06 pm
Location: Victoria, BC, Canada
Contact:

Post by jhawthorn »

Sorry, I read everything yesterday but was too busy to reply. IMO the best way to do this with MediaWiki's #time parser function. Unfortunately, the MediaWiki version we have does not support parser functions IIRC. However, we can still use the following arguments with numerical values
|LastReleaseMonth
|LastReleaseDay
|LastReleaseYear
and use a series of if statements to print the month. I worry that this will be a performance hit for rendering the page. Template:If is already somewhat of a kludge. With 12 of them per entry, and caching of the page only in effect for anonymous viewers, it seems like a poor solution. Or maybe I have spent too much time today programming for my 486 to be realistic about this.

I'll do this to the template tomorrow, it will probably be alright.
User avatar
AndrewAPrice
Member
Member
Posts: 2300
Joined: Mon Jun 05, 2006 11:00 pm
Location: USA (and Australia)

Post by AndrewAPrice »

hckr83 wrote:lol..That's the format I use! and I'm American...so I guess some weird country uses it..(Australia?)
It's D/M/Y here in AU.. Y/M/D is good for sorting large directories when you organise by name.
My OS is Perception.
Post Reply