Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Ionic Clockface "Flashring" Date Format

ANSWERED
Replies are disabled for this topic. Start a new one or visit our Help Center.

Hello,

I have been using the Flashring clockface for a while now and I love it.  After updating to Fitbit OS 2.0, the date format seems to have switched from MM/DD/YYYY to DD/MM/YYYY.  Has anyone else noticed this?

 

I tried some troubleshooting with the "Chronograph" clockface by Fitbit and it displays MM/DD.  Is the date format based on a location setting in the user profile, or is it hard coded into the clockface?

 

Thanks!

 

Moderator Edit: Added Labels

Best Answer
0 Votes
37 REPLIES 37

Let me please explain this issue. The Fitbit sdk does not support javascripts toLocaleDateString(). That's why I had to write my own solution for localisation, which was quite a lot of work and it is now used by some other clockfaces, since I published my code as opensource.

With the update to Fitbot OS2.0, there was a change in the API, I guess, and the localisation stopped working as expected. I tried to solve the issue with a workaround, which broke localisation again for some regions. Since I'm quite busy at work at the moment, It will take some time to fix it again. Please be patient! I'm not working for Fitbit, I'm not a professional JavaScript-developer (I need other languages for my job), I have a full-time job and a family! But I promise to investigate the issues once again.

Best Answer
0 Votes

Thank you for your feedback and future investigation into this issue.

Best Answer
0 Votes

A new update is available. Please test it and give me a feedback if everything works!

Best Answer
0 Votes

No luck I’m affraid mate. Still displaying MM/DD/YYYY. 

Best Answer
0 Votes

Hm...

This should only be the case if the users locale is set to "en-us". Are you sure that the new version of the clockface is installed and that your locale is not set to "en-us"?

Best Answer
0 Votes
Uncles-a-m, what is your full time job? If this is your hobby I’m just curious what you do for a living.

Sent from my iPhone
Best Answer
0 Votes
All looks correct to me but just to make sure I’m not missing something obvious where should I be checking that setting?

Sent from my iPhone
Best Answer
0 Votes

Definitely installed and updated. All settings look correct. Just to make sure I’m not missing anything obvious, where should I be checking for location settings?

Best Answer
0 Votes

Don’t worry about it actually mate, more important things in life that sorting stuff out for strangers on the internet! Cheers anyway! 

Best Answer
0 Votes

@Reptilejch: I'm a teacher for math and computer science and besides I'm developing software for the school's administration.

 

@AJS149: I don't remember where you can set the locale, sorry 

Best Answer
0 Votes

"I tried some troubleshooting with the "Chronograph" clockface by Fitbit and it displays MM/DD"

 

That may not be the best troubleshooting activity. It appears that chronograph is hard coded to MM/DD.

 

p

Best Answer
0 Votes
Hey Uncle Sam, what are the logistics involved in adding a battery meter to a watch face?

Sent from my iPhone
Best Answer
0 Votes

You have to use the PowerAPI: https://dev.fitbit.com/build/reference/device-api/power/

 

You can take a look into the code of my ClearBeam-watchface if you like: https://gitlab.com/private-software/fitbit-clearbeam-watchface.git

Best Answer
0 Votes

Hi Sam,

 

sorry to bring this one back from the dead - I had a look into your code, and I think the issue is that your localization string isn't choosing en-"other" so for example in Australia, we are en_au rather than en_us.

 

I'm not entirely sure how your subroutine works, as I'm an infrastructure guy, not coder, but pretty confident that this is where the date sequence issue is arising from... 

 

I tried modifying a pull from GitHub, but I was missing something as I couldn't get it to change.

 

I BELIEVE Line 132 should look something like this:

 

"if ( prefix == "en" || prefix == "au" || prefix == "gb" || prefix == "de"" ) {

Melbourne, Australia 🙂

Fitbit History: Flex, Charge HR, Charge 2, Ionic
Best Answer
0 Votes

Hey Andrew,

 

sorry, but  this

 

"if ( prefix == "en" || prefix == "au" || prefix == "gb" || prefix == "de"" ) {

 

will not work or fix the problem. I will try to fix the issue. Please be patient.

 

All the best,

 

Sam

Best Answer
0 Votes

I'm having the same issue, it's presenting format "MM/DD/YYYY" and in my location (Portugal) I'm expecting "DD/MM/YYYY". Is it possible to solve this by letting the user choose the format wanted in the Settings area of the clock face? That way this issue is solved forever, no matter the "location".

 

Thanks a lot for the amazing clock face btw 😄

Best Answer
0 Votes

Yes and no @carlostorrao, their is no setting on Fitbit, but several third party clock faces do have this ootion. With 500 or do faces im not sure which ones, a search of this board should help since this subject comes up reqularly, and specific faces have been mentioned. 

Best Answer

This will come with the next update. It is already implemented in my clockface Flashring2. Take a look, it might be an alternative if you don't want to wait for the update.

Best Answer