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.

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.