<!-- <link rel="import" href="../scripts/lodash/lodash.html"> -->
<link rel="import" href="../../../bower_components/moment-element/moment-import.html">
<script>

  var utilsBehavior = {

    // 'September 12. 2017' => '12 Sept 2017'
    _formatListDate: function(originalDateString) {
      if (!originalDateString) {
        return '';
      }
      var mom = window.moment(originalDateString, 'MMM DD, YYYY');
      return mom.format('DD MMMM YYYY');
    },
  };
</script>

<!-- <link rel="import" href="../scripts/lodash/lodash.html"> -->

<script>

  var utilsBehavior = {

    // 'September 12. 2017' => '12 Sept 2017'
    _formatListDate: function(originalDateString) {

      if (!originalDateString) {
        return '';
      }

      var month = originalDateString.split(' ')[0];
      var day = originalDateString.split(' ')[1].slice(0, -1);
      var year = originalDateString.split(' ')[2];

      month = {
        'January': 'Jan',
        'February': 'Feb',
        'March': 'Mar',
        'April': 'Apr',
        'May': 'May',
        'Juny': 'Jun',
        'July': 'Jul',
        'August': 'Aug',
        'September': 'Sept',
        'October': 'Oct',
        'November': 'Nov',
        'December': 'Dec'
      }[month];

      return day + ' ' + month + ' ' + year;
    },
  };
</script>

Revert "moved date conversion to moment"
Revert "moved date conversion to moment"

This reverts commit 99a67d12457494305c67147881be6e3ec9021847.
