vendor/assets/javascripts/moment/eu.js in momentjs-rails-2.7.0 vs vendor/assets/javascripts/moment/eu.js in momentjs-rails-2.8.0

- old
+ new

@@ -1,7 +1,7 @@ -// moment.js language configuration -// language : euskara (eu) +// moment.js locale configuration +// locale : euskara (eu) // author : Eneko Illarramendi : https://github.com/eillarra (function (factory) { if (typeof define === 'function' && define.amd) { define(['moment'], factory); // AMD @@ -9,10 +9,10 @@ module.exports = factory(require('../moment')); // Node } else { factory(window.moment); // Browser global } }(function (moment) { - return moment.lang('eu', { + return moment.defineLocale('eu', { months : "urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"), monthsShort : "urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"), weekdays : "igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"), weekdaysShort : "ig._al._ar._az._og._ol._lr.".split("_"), weekdaysMin : "ig_al_ar_az_og_ol_lr".split("_"),