HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Date format regionalization

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#71521 (In Topic #15053)
Avatar

Community saint

I hope to do an American English translation once I have some free time. However, what is more importatnt to me is having the option to use the standard date format in the US (mm/dd/yyyy). People can get past the minor differences in spelling but are much more confused by the date format.

Any chance this will be addressed?

Bob


Last edit: by BobS
Back to the top
 
Posted
Rating:
#71522
Avatar

Community saint

I doubt it. I think the convention used is the standard internet convention.

Your US convention is (mm/dd/yyyy), the UK is (dd/mm/yyyy), Portuguese traditional is (yyyy/mm/dd - the same as the ISO8601 standard), and there are subtle differences in other European countries.

My point: there has to be a common standard, and that isn't necessarily the US convention.

 O_o



Edit: Forgot to mention the obvious: ISO8601 is now incorporated in PHP5, which (sort of) makes the developers task an 'easy' one.



Last edit: by Fletch

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#71524
Avatar

Community saint

I was certainly not suggesting that the American standard be adopted over other standards. It's just been my experience that most software allows for date regionalization even at the user level.

Perhaps the internet will make this less an issue but old-timer Americans, unfortunately, still see the US as the source of all standards which is why the metric system failed to catch on here.

Bob
Back to the top
 
Posted
Rating:
#71525
Avatar

Community saint

Apologies, Bob.

Missed the crucial keyword 'option', which on re-reading now makes more sense to me. I too have a bunch of 'oldies' who are RTC.

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#71526
Avatar

Community saint

It's amazing to me how inflexible Americans are about some things. I honestly thought the metric system would catch on if for no other reason than it is easier to convert from one unit of measure to another. Silly me.

Ask most Americans how many tablespoons are in a cup and you'd see nothing but a blank look most often.

Bob
Back to the top
 
Posted
Rating:
#71529
Avatar

Community saint

BobS said

… old-timer Americans, unfortunately, still see the US as the source of all standards

AND

It's amazing to me how inflexible Americans are about some things.
Universal, I'm afraid. The 'oldies' here in Portugal (actually, 50+) still talk about the Escudo (recent) and Salazar (ancient) with nostalgia.

Go figure!



Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#71532
Avatar

Community saint

BobS said

It's amazing to me how inflexible Americans are about some things. I honestly thought the metric system would catch on if for no other reason than it is easier to convert from one unit of measure to another. Silly me.

Ask most Americans how many tablespoons are in a cup and you'd see nothing but a blank look most often.

Bob
16  O_o


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Prehistorics Illustrated
http://prehistoricsillustrated.com
Another ocPortal powered website &
The Fascinating World of Dinosaurs

& Prehistoric Creatures of all Kinds
Back to the top
 
Posted
Rating:
#71533
Avatar

Community saint

Very good!! You, sir, are in rare company. Was it a guess or did you actually know the answer?


friendly said

16  O_o
Back to the top
 
Posted
Rating:
#71534
Avatar

Community saint

BobS said

Very good!! You, sir, are in rare company. Was it a guess or did you actually know the answer?


friendly said

16  O_o

Thanks, but I'll 'fess up…

At first there was this blank stare… O_o
then the lightbulb went on… ;)
then went on google and voila… :$
16 :lol:

Sorry neither my steaks or my company are rare but I do use the metric system when I have to - like when in the company of science minded persons.

:offtopic:
When I was a kid we were all suppose to be using the metric system by the time we became adults (I'm way past adult by this stage) but then we were also all supposed to be traveling in flying cars and having robots pick up after us at home weren't we? :cool:


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Prehistorics Illustrated
http://prehistoricsillustrated.com
Another ocPortal powered website &
The Fascinating World of Dinosaurs

& Prehistoric Creatures of all Kinds
Back to the top
 
Posted
Rating:
#71544
Avatar

ocStaff (admin)

No date formats are hard-coded, it'll be through lang strings. More info in internationalisation tutorial.

It's funny the US sticks to our old system whilst we've moved on, but we still don't have metric time ;).



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#71550
Avatar

Community saint

Chris Graham said

It's funny the US sticks to our old system whilst we've moved on, but we still don't have metric time ;).

I just realized that i want a star-date option.  ;)

Bob
Back to the top
 
Posted
Rating:
#71553
Avatar

Community saint

Chris Graham said

It's funny the US sticks to our old system whilst we've moved on, but we still don't have metric time ;).
Yeah, give us the 100-hour clock and I'll feel as if I'm living longer. Not that that is necessarily a good thing!

In response to Bob's initial 'option' request, I hunted down a form I use for a vanilla-flavoured HTML website I built for a charming matron. It actually does exactly what Bob was proposing:


Can something similar be incorporated into the core of ocPortal?

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: