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

SDK Documentation missing and how use device language Month/Weekday names?

1. At first why

date.getDate();
date.getMonth();
date.getFullYear();
date.getDay();
<others...??>

are not described in ClockAPI documentation??

 

2. How use in own clockface names of the months and weekdays in language that is set on device?

As I see this is possible, because system's AOD digital (for all clockfaces without AOD) can display abbreviations of month is device language.

Best Answer
0 Votes
1 REPLY 1
  1. Those functions are not features of the API, but are features of the programming language (JavaScript). A good reference for that is here.
  2. The most elegant solution is to use i18n and locale.
Peter McLennan
Gondwana Software
Best Answer