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

Adding weekdate

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 Answer
0 Votes
21 REPLIES 21

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...

https://github.com/FlyFrosty/Dual-Time

Best Answer
0 Votes

Still no working. but  thank you though!  And I won`t give up, hope I can figure it out soon.

Best Answer
0 Votes