01-04-2019 12:27
01-04-2019 12:27
Hi, all! I am building a Versa Clockface, I can put month, date and time on it, but still have problem with adding weekdate( Like Mon, Tue.....). Is there anyone can help me with this?Thanks!
Best Answer01-06-2019 11:02 - edited 01-06-2019 11:04
01-06-2019 11:02 - edited 01-06-2019 11:04
Hmm. I'm not an expert, but make sure your styles.css and index.gui are properly configured. Then, I have the formatDate function in a "util" folder.
import * as util from "../common/util";
I call it from inside my app by :
// Uses formatDate function to display my date
function myFormCal() {
myCal.text = `${util.formatDate(new Date())}`
} My entire program is here...
Best Answer01-06-2019 17:28
01-06-2019 17:28
Still no working. but thank you though! And I won`t give up, hope I can figure it out soon.
Best Answer