Closed dio1985 closed 2 years ago
I have no answer. Video is inaccessible.
I have no answer. Video is inaccessible.
i just used only english...... file . utility.ino
String getWeekdayString(uint8_t wd) { String str = ""; switch (wd) { case 1: str = F("Monday"); break; case 2: str = F("Tuesday"); break; case 3: str = F("Wednesday"); break; case 4: str = F("Thursday"); break; case 5: str = F("Friday"); break; case 6: str = F("Saturday"); break; case 7: str = F("Sunday"); break; } return str; }
I just changed the day of the week to english but it doesn't show properly
"Fri2a22" ??????????
I still have no idea. Conversion from 'DDDD' or 'dddd' to day of week is in RunningText.ino, lines 1134-1136 Check if your code files are saved in UTF-8 format.
I still have no idea. Conversion from 'DDDD' or 'dddd' to day of week is in RunningText.ino, lines 1134-1136 Check if your code files are saved in UTF-8 format.
I just changed the days of the week in Russian to English. You can find out if you change only one day of the week into English
file . utility.ino
String getWeekdayString(uint8_t wd) { String str = ""; switch (wd) { case 1: str = F("Monday"); break; case 2: str = F("Tuesday"); break; case 3: str = F("Wednesday"); break; case 4: str = F("Thursday"); break; case 5: str = F("Friday"); break; case 6: str = F("Saturday"); break; case 7: str = F("Sunday"); break; } return str; }
please try to use english
Yes, really. I got an issue. Because running string processed in cycle until all data-related substitutions are not processed. So, data-formatter string 'DDDD' initially substituted with 'Friday', next iteration 'd' from Friday substituted with day '21' and 'y' with short-year -- 22...
Will think about way to fix it...
I updated source file runningText.ino Try to get it and use in your sketch. I think issue is fixed.
I updated source file runningText.ino Try to get it and use in your sketch. I think issue is fixed.
wow thank you so much !!i will try to do . your project is so great
file . utility.ino
String getWeekdayString(uint8_t wd) { String str = ""; switch (wd) { case 1: str = F("Monday"); break; case 2: str = F("Tuesday"); break; case 3: str = F("Wednesday"); break; case 4: str = F("Thursday"); break; case 5: str = F("Friday"); break; case 6: str = F("Saturday"); break; case 7: str = F("Sunday"); break; }
return str; }
I just changed the day of the week to english but it doesn't show properly
"Fri2a22" ??????????
https://user-images.githubusercontent.com/78635592/169562382-9c6f0aff-e6b2-4678-90c9-187d3903f28b.mp4