Sha256: bd46008ae3b970c2f8faac04ae9621857d5f8ab7253d5450215725505ae84421

Contents?: true

Size: 1.26 KB

Versions: 9

Compression:

Stored size: 1.26 KB

Contents

moment.lang('en-gb', {
  months : "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
  monthsShort : "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
  weekdays : "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
  weekdaysShort : "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),
  longDateFormat : {
    LT : "h:mma",
    L : "D/M/YYYY",
    LL : "Do MMMM YYYY",
    LLL : "D MMMM YYYY LT",
    LLLL : "dddd, D MMMM YYYY LT"
  },
  calendar : {
    sameDay : '[today at] LT',
    nextDay : '[tomorrow at] LT',
    nextWeek : 'dddd [at] LT',
    lastDay : '[yesterday at] LT',
    lastWeek : '[last] dddd [at] LT',
    sameElse : 'LL'
  },
  relativeTime : {
    future : "in %s",
    past : "%s ago",
    s : "a few seconds",
    m : "a minute",
    mm : "%d minutes",
    h : "an hour",
    hh : "%d hours",
    d : "a day",
    dd : "%d days",
    M : "a month",
    MM : "%d months",
    y : "a year",
    yy : "%d years"
  },
  ordinal : function (number) {
    var b = number % 10;
    return (~~ (number % 100 / 10) === 1) ? 'th' :
      (b === 1) ? 'st' :
      (b === 2) ? 'nd' :
      (b === 3) ? 'rd' : 'th';
  }
});

moment.fn.is = function(other) {
  return other && this.valueOf() === other.valueOf();
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
slices-2.0.2 app/assets/javascripts/slices/lib/moment.js
slices-2.0.1 app/assets/javascripts/slices/lib/moment.js
slices-2.0.0 app/assets/javascripts/slices/lib/moment.js
slices-1.0.5 app/assets/javascripts/slices/lib/moment.js
slices-1.0.4 app/assets/javascripts/slices/lib/moment.js
slices-1.0.3 app/assets/javascripts/slices/lib/moment.js
slices-1.0.2 app/assets/javascripts/slices/lib/moment.js
slices-1.0.1 app/assets/javascripts/slices/lib/moment.js
slices-1.0.0 app/assets/javascripts/slices/lib/moment.js