aswi2020vldc-gitlab/templetes/node_modules/es-abstract/5/WeekDay.js @ 4605a44b
1 |
'use strict'; |
---|---|
2 |
|
3 |
var mod = require('../helpers/mod'); |
4 |
|
5 |
var Day = require('./Day'); |
6 |
|
7 |
// https://ecma-international.org/ecma-262/5.1/#sec-15.9.1.6
|
8 |
|
9 |
module.exports = function WeekDay(t) { |
10 |
return mod(Day(t) + 4, 7); |
11 |
};
|