Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialLeJacque Gillespie
3,990 PointsList View
My days of the week are displayed in the wrong order. They start at Thursday instead of Monday. Also Wednesday looks like Wednes day.
Any suggestions of correcting this. Thanks.
1 Answer
Stephen Wall
Courses Plus Student 27,294 PointsWell I would check your getDayOfTheWeek method within the Day.java file. Try to copy paste this over yours.
public String getDayOfTheWeek() {
SimpleDateFormat formatter = new SimpleDateFormat("EEEE");
formatter.setTimeZone(TimeZone.getTimeZone(mTimezone));
Date dateTime = new Date(mTime * 1000);
return formatter.format(dateTime);
}
Ken Alger
Treehouse TeacherKen Alger
Treehouse TeacherCan you post your code please? It makes it much easier to diagnose if we can see what you are using.
Thanks,
Ken