Garmin Forums
Site
Search
User
Site
Search
User
Apps & Software
Outdoor Recreation
Sports & Fitness
Pilots
Developer
Beta Program
German Forum
More
Cancel
Developer
More
Connect IQ
Connect IQ App Development Discussion
Day_of_week.SHORT showing 3 letter but 4 for Thursday?
News & Announcements
Forums
Bug Reports
Wiki
Tags
More
Cancel
Replies
2 replies
Subscribers
15 subscribers
Views
249 views
Users
0 members are here
Options
Share
More
Cancel
Related
Day_of_week.SHORT showing 3 letter but 4 for Thursday?
Z34Phoenix
over 8 years ago
When using Day_of_week.SHORT, it shows three letters for mom, tue, but when it gets to Thursday it shows Thur instead. The space I'm trying to put this won't look correct if 4 letters are displayed. Is there another way that display the day?
jim_m_58
over 8 years ago
The 3/4 letter thing has been around for a very long time. (FOMART_SHORT is always a number. FORMAT_MEDIUM returns things like dow as a string)
If you always want three character, use something like
dow.substring(0,3);
Cancel
Up
0
Down
Reply
Cancel
Z34Phoenix
over 8 years ago
Thank you it worked great!
Cancel
Up
0
Down
Reply
Cancel