Python Forum
Poll: How should python-forum display dates?
You do not have permission to vote in this poll.
December, 11th 2016
0%
0 0%
11th December, 2016
0%
0 0%
2016-12-11
16.67%
2 16.67%
Other answer, please explain below
8.33%
1 8.33%
Keep current default, i.e. 12-11-2016
0%
0 0%
Dec-11-2016
33.33%
4 33.33%
11-Dec-2016
8.33%
1 8.33%
Dec 11 2016
8.33%
1 8.33%
11 Dec 2016
25.00%
3 25.00%
Dec/11/2016
0%
0 0%
11/Dec/2016
0%
0 0%
Total 12 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Date format
#1
Hi all, I happened to notice the default date format of our forums which can be very ambiguous on certain dates.

You see, some countries write month-day-year, other cultures write day-month-year. See them on a map!

Consider a day like December, 11th - how would you tell if this is actually meant or rather November, 12th?

I would vote to switch the forum default to a more unambiguous way. For example, in my last example here, there can be no wiggle room.

I don't think we need the name of the day at all, at all.

This would leave us with three unambiguous choices. Below is the full list for your reference.

edit: Please note, this is only deciding the default value. Every user may switch to her personal favorite anyway.

[Image: 0BCzLBE.png]
Reply
#2
I agree it would probably be better to avoid any ambiguity, but I don't really have a clear preference as I'm not sure what a native English speaker might find most natural.
Reply
#3
i would much prefer MDY as that is most natural to me. However i can understand the confusion as when i go to other sites, sometimes its DMY and i get confused on which it is. So i guess if we had to change it from its current MDY format, i personally prefer December 11, 2016...but its so damn long. And i agree that the day name is not important as well.

Quote:2016-12-11
my problem with this option is you could in theory say the same thing....would it be dec 11th, or nov 12th?

On the other hand though, i dont think its too big of a deal to change at all as each user can define it how they like if they dont like the default.
Recommended Tutorials:
Reply
#4
"11th December, 2016" is close to what I prefer, "11 December 2016" which I think is relatively common.
Reply
#5
"December, 11th 2016" would get my vote, if only the comma was in the right place.
Reply
#6
im pretty sure we could remove the comma, or move it, etc.
Recommended Tutorials:
Reply
#7
(Dec-13-2016, 04:15 PM)metulburr Wrote: i personally prefer December 11, 2016...but its so damn long.
This only pertains to older posts though. Most recent posts show dates like "2 minutes ago", "3 hours ago", etc.

(Dec-13-2016, 04:15 PM)metulburr Wrote:
Quote:2016-12-11
my problem with this option is you could in theory say the same thing....would it be dec 11th, or nov 12th?
The first choice, as it is always YMD and never YDM. Literally nobody uses YDM. Check the wikipedia link above for more information on different ways to write dates.

YMD starts with the largest time frame (Y) and ends at the smallest (D). This is handy: When you want to sort alphabetically, it automatically sorts chronologically too.
Reply
#8
(Dec-13-2016, 04:15 PM)metulburr Wrote:
Quote:2016-12-11

my problem with this option is you could in theory say the same thing....would it be dec 11th, or nov 12th?

This is the ISO-8601 date format, I don't think that will be a major problem.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply
#9
Believe it or not, somewhere in my library I have a complete book on date formatting
Reply
#10
Im sure we could also alter the dates such as

Dec 11 2016
to shorten it up


Edit:
changed for display

ACP -> Configuration -> Date and time formats -> Date Format (changed m -> M)
http://php.net/manual/en/function.date.php
Recommended Tutorials:
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020