Hi,
Is there a way to retrieve all the days of the week in the language that is set on the watch?
Or only hard-coded?
Thanks
Hi,
Is there a way to retrieve all the days of the week in the language that is set on the watch?
Or only hard-coded?
Thanks
Gregorian.info() will get the strings in the current language for the device when Time.FORMAT_MEDIUM or Time.FORMAT_LONG is specified.
The issue is with custom fonts, you need to include all the possible characters in that font.
Hi,
I need all days of the week in an array or something like that
you can do a loop,
like:
var DoW = new [7];
for (var i=0;i<7;i++){
var DDD =Toybox.Time.Gregorian.info(Time.now().add(new Time.Duration(86400*i)), 1);
DoW[i]=DDD.day_of_week;
}