6de2455917
- Added GLOBAL_MARKETS_TITLE to all translation files - Updated footer with 12 markets (4 active + 8 upcoming) - Translated market section to: zh-cn, zh-tw, ja, ko, th, vi, id, ms, hi - Built and deployed to production - CloudFront invalidation: I3RTMXVFDJXWLG3SYX208OP1CC
15 lines
366 B
JavaScript
15 lines
366 B
JavaScript
export default (function (o, c) {
|
|
var proto = c.prototype;
|
|
|
|
proto.weekday = function (input) {
|
|
var weekStart = this.$locale().weekStart || 0;
|
|
var $W = this.$W;
|
|
var weekday = ($W < weekStart ? $W + 7 : $W) - weekStart;
|
|
|
|
if (this.$utils().u(input)) {
|
|
return weekday;
|
|
}
|
|
|
|
return this.subtract(weekday, 'day').add(input, 'day');
|
|
};
|
|
}); |