Skip to content

[Android Bootcamp] SimpleDateFormat tip #2

Description

@sdobek

Putting this as a possible helpful hints in connection with setting the relative time stamp.
Ran into an issue here where creating a SimpleDateFormat caused my app to keep crashing.
https://github.com/sdobek/TwitterApp/blob/master/src/com/codepath/apps/mytwitterapp/models/Tweet.java#L53
Turns out, my y's were capitalized, and so the formatting didn't recognize it.
Works now though.
But might be worth mentioning for those who attempt relative.
/cc @nesquena

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions