Jump to content

Date Issue in Japanese Language


freephoneid

Recommended Posts

Well, the code above is just a sample code which I've given here....What I'm doing is that I'm

generating date from today till last 7 days in a loop in their repspective locale & while doing

that I'm using %x which takes care of displaying date in respective locale.

 

This takes care of displaying 7 dates as column header in my page properly.

 

Now, next is to get some data from the backend postgres for all these dates.

 

 

So separate display from fetching data.

Format date for displaying as you do now, and for queries use something else.

where as Japanese uses characters for the numbers

 

Maybe 100 years ago, but now they use numbers just like everywhere else :)

 

Maybe I said it wrong, they use non-english characters for the separators in dates, which can be seen in what he posted earlier that is being passed to strtotime...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.