<commit_before>var apiURL = 'http://whatsinstandard.com/api/4/sets.json'
var symbol = Vue.component('edition-symbol', {
  props: ['symbol'],
  template: '<span class="icon"><i class="ss" :class="imsym"></i></span>',
  data: function () {
    return {
      imsym: 'ss-' + this.symbol.toLowerCase()
    }
  },
})

var app = new Vue({
  el: '#vue-container',

  data: {
    editions: null,
    blockeditions: null
  },

  created: function () {
    this.fetchData()
  },

  filters: {
    moment: function (date) {
      return moment(date).format('MMMM Do YYYY');
    }
  },

  methods: {
    fetchData: function () {
      var xhr = new XMLHttpRequest()
      var self = this;
      var blockeditions = {};
      xhr.open('GET', apiURL);
      xhr.onload = function () {
        self.editions = JSON.parse(xhr.responseText)

        for(var i=0; i<self.editions.length; i++) {
          if(!blockeditions[self.editions[i].block]) {
            blockeditions[self.editions[i].block] = [];
          }

          blockeditions[self.editions[i].block].push(self.editions[i]);
        }
        self.blockeditions = blockeditions;
      };
      xhr.send();
    },

    isNotReleased: function (release_date) {
      return Date.parse(release_date) > Date.now();
    },

    getFirstNotReleasedSet: function (block) {
      for(var i=0; i < block.length; i++) {
        if(this.isNotReleased(block[i].enter_date)) {
          return block[i].name + " releases " + moment(block[i].enter_date).format('MMMM Do YYYY');
        }
      }
    }
  }
});<commit_msg>Use commas after days-of-month<commit_after>var apiURL = 'http://whatsinstandard.com/api/4/sets.json'
var symbol = Vue.component('edition-symbol', {
  props: ['symbol'],
  template: '<span class="icon"><i class="ss" :class="imsym"></i></span>',
  data: function () {
    return {
      imsym: 'ss-' + this.symbol.toLowerCase()
    }
  },
})

var app = new Vue({
  el: '#vue-container',

  data: {
    editions: null,
    blockeditions: null
  },

  created: function () {
    this.fetchData()
  },

  filters: {
    moment: function (date) {
      return moment(date).format('MMMM Do YYYY');
    }
  },

  methods: {
    fetchData: function () {
      var xhr = new XMLHttpRequest()
      var self = this;
      var blockeditions = {};
      xhr.open('GET', apiURL);
      xhr.onload = function () {
        self.editions = JSON.parse(xhr.responseText)

        for(var i=0; i<self.editions.length; i++) {
          if(!blockeditions[self.editions[i].block]) {
            blockeditions[self.editions[i].block] = [];
          }

          blockeditions[self.editions[i].block].push(self.editions[i]);
        }
        self.blockeditions = blockeditions;
      };
      xhr.send();
    },

    isNotReleased: function (release_date) {
      return Date.parse(release_date) > Date.now();
    },

    getFirstNotReleasedSet: function (block) {
      for(var i=0; i < block.length; i++) {
        if(this.isNotReleased(block[i].enter_date)) {
          return block[i].name + " releases " + moment(block[i].enter_date).format('MMMM Do, YYYY');
        }
      }
    }
  }
});
{'fraction_non_alphanumeric': 0.17039641943734016, 'fraction_numerical': 0.0019181585677749361, 'mean_word_length': 2.4844097995545655, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '160324', 'n_tokens_mistral': 1064, 'n_tokens_neox': 1059, 'n_words': 183}