Added comment I forgot.

This commit is contained in:
wildscotsmen 2018-11-04 22:05:41 -05:00
parent 83982d8f88
commit bcf5c30718
1 changed files with 5 additions and 2 deletions

View File

@ -234,12 +234,15 @@ export class MapContainer extends Component {
pinIcon = '/mapicons/other-icon.png' pinIcon = '/mapicons/other-icon.png'
break; break;
default: default:
break break;
} }
return pinIcon; return pinIcon;
} }
/**
* Formats date using Moment.js.
*/
formatDate = date => { formatDate = date => {
return (moment(date, "YYYY-MM").format("MMMM YYYY").toString()) return (moment(date, "YYYY-MM").format("MMMM YYYY").toString())
} }