Файловый менеджер - Редактировать - /home/freeclou/app.optimyar.com/backend/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.js
Назад
import getUTCISOWeekYear from "../getUTCISOWeekYear/index.js"; import startOfUTCISOWeek from "../startOfUTCISOWeek/index.js"; import requiredArgs from "../requiredArgs/index.js"; // This function will be a part of public API when UTC function will be implemented. // See issue: https://github.com/date-fns/date-fns/issues/376 export default function startOfUTCISOWeekYear(dirtyDate) { requiredArgs(1, arguments); var year = getUTCISOWeekYear(dirtyDate); var fourthOfJanuary = new Date(0); fourthOfJanuary.setUTCFullYear(year, 0, 4); fourthOfJanuary.setUTCHours(0, 0, 0, 0); var date = startOfUTCISOWeek(fourthOfJanuary); return date; }
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка