Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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