iOS Parsing JSON Using Codable Parsing to Non-Primitive Types Parsing Dates

Randell Pur
Randell Pur
4,934 Points

Quick question about the date format "MMMM".

I used the MMMM dd, yyyy but it still comes up as Jun instead of June. Is there a reason for this or has anything been updated for this process?

Jhoan Arango
Jhoan Arango
Treehouse Moderator 12,179 Points

Hello,

Please post your code so that we can help you further..

Also you may want to see this page that can help you with date formatting.

click here

1 Answer

Michael Psoinos
Michael Psoinos
8,130 Points

I assume you are talking about on the website NSDateFormatter.com. The same thing was happening to me until I changed the format to something else and hit enter. Then it worked.