文件操作 - SystemTimeZoneIdentifier.js
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/es-abstract/2024/SystemTimeZoneIdentifier.js
编辑文件内容
'use strict'; var callBind = require('call-bind'); var I402 = typeof Intl === 'undefined' ? null : Intl; var DateTimeFormat = I402 && I402.DateTimeFormat; var resolvedOptions = DateTimeFormat && callBind(DateTimeFormat.prototype.resolvedOptions); // https://262.ecma-international.org/15.0/#sec-systemtimezoneidentifier module.exports = function SystemTimeZoneIdentifier() { if (DateTimeFormat && resolvedOptions) { return resolvedOptions(new DateTimeFormat()).timeZone; // steps 2 - 3 } return 'UTC'; // step 1 };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件