Date format

User avatar
Kingsley
Member
 
Posts: 29
Joined: Sat Apr 11, 2015 7:30 pm
Location: New Zealand
Has thanked: 0 time
Been thanked: 2 times

Date format

Sun Jul 10, 2016 7:02 pm

Why is the date format backwards when time zone is selected for specific country?

We have selected Pacific/Auckland and the date is still shows in American format. 7/11/2016.

Unlike backwards America this side of the world New Zealand / Australia and probably a lot of other countries display the date 11/7/2016. We all say Monday the 11th of July 2016. We never ever say July Monday 11th 2016. Gets very confusing with earlier dates such as 8/7/16 and 7/8/16 without knowing could easily be fooled on the correct date.

Can this be fixed please?

We have our second wisp switch out now both 12 port one AC and the other DC. Simple swap outs of ts5's and haven't had any issues this far.

Thanks,
Kingsley

User avatar
Eric Stern
Employee
Employee
 
Posts: 532
Joined: Wed Apr 09, 2014 9:41 pm
Location: Toronto, Ontario
Has thanked: 0 time
Been thanked: 130 times

Re: Date format

Mon Jul 11, 2016 2:25 pm

Will fix in the next release.

User avatar
sakita
Experienced Member
 
Posts: 206
Joined: Mon Aug 17, 2015 2:44 pm
Location: Arizona, USA
Has thanked: 93 times
Been thanked: 80 times

Re: Date format

Mon Jul 11, 2016 5:15 pm

Is this fix going to make is so the timezone selected determines which date format is used... or are you going to add a selection for date format?

For example, I may be in the "America/Phoenix (MST7)" zone but prefer yyyy/mm/dd format for dates (e.g. because it avoids the exact kind of confusion that the OP and others have).

Likewise I also prefer 24-hour clock format (which I recall there were other folks outside the US having grief with 12 hour clock).
Today is an average day: Worse than yesterday, but better than tomorrow.

User avatar
Eric Stern
Employee
Employee
 
Posts: 532
Joined: Wed Apr 09, 2014 9:41 pm
Location: Toronto, Ontario
Has thanked: 0 time
Been thanked: 130 times

Re: Date format

Tue Jul 12, 2016 1:03 pm

It will use the locale of the browser.

User avatar
Eric Stern
Employee
Employee
 
Posts: 532
Joined: Wed Apr 09, 2014 9:41 pm
Location: Toronto, Ontario
Has thanked: 0 time
Been thanked: 130 times

Re: Date format

Wed Jul 13, 2016 4:42 pm

I checked the code and it is already using the locale of the browser.

You can check it by opening the developer console and pasting in this bit of code to see what output you get.

Code: Select all
 new Date().toLocaleDateString();


You may have to google how to get your browser to do the right thing, as its heavily dependent on the OS and browser.

User avatar
lligetfa
Associate
Associate
 
Posts: 1191
Joined: Sun Aug 03, 2014 12:12 pm
Location: Fort Frances Ont. Canada
Has thanked: 307 times
Been thanked: 381 times

Re: Date format

Wed Jul 13, 2016 6:10 pm

Chrome on ubuntu is ctrl-shift-i

returns for me:
"13/07/2016"

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 23 guests