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 trial

Android Android Lists and Adapters (2015) Using Parcelable Data Updating the Daily Forecast UI

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

Ken Alger
Ken Alger
Treehouse Teacher

Can you post your code please? It makes it much easier to diagnose if we can see what you are using.

Thanks,

Ken

1 Answer

Stephen Wall
PLUS
Stephen Wall
Courses Plus Student 27,294 Points

Well 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);
    }