The exact lines that are generated depend on the locale you are in. If you just use
new SimpleDateFormat("MMM d, yyyy");
then the default language system will be used. Your default language probably makes the month like nov, rather than nov.
if you want a specific language to be used, pass it to the constructor, for example
new SimpleDateFormat("MMM d, yyyy", Locale.US);
source
share