@icreate/ics-chromely-plugin-core
Advanced tools
Comparing version 0.0.12 to 0.0.13
@@ -304,3 +304,3 @@ import { LogLevels } from '@icreate/core'; | ||
* @LastEditors: 文贝 | ||
* @LastEditTime: 2022-06-23 17:29:17 | ||
* @LastEditTime: 2022-07-19 09:19:23 | ||
* @Description: | ||
@@ -353,2 +353,14 @@ * @FilePath: \ics-chromely-plugin-core\src\core\hardware.ts | ||
}; | ||
/** | ||
* 设置本地日期时间 | ||
* @param date 日期字符串 | ||
* 支持: | ||
* yyyy-MM-dd HH:mm:ss | ||
* yyyy.MM.dd HH:mm:ss | ||
* yyyy/MM/dd HH:mm:ss | ||
* @returns | ||
*/ | ||
Hardware.SetLocalTime = function (date) { | ||
return this.OperateEx('SetLocalTime', { date: date }); | ||
}; | ||
return Hardware; | ||
@@ -355,0 +367,0 @@ }()); |
@@ -309,3 +309,3 @@ (function (global, factory) { | ||
* @LastEditors: 文贝 | ||
* @LastEditTime: 2022-06-23 17:29:17 | ||
* @LastEditTime: 2022-07-19 09:19:23 | ||
* @Description: | ||
@@ -358,2 +358,14 @@ * @FilePath: \ics-chromely-plugin-core\src\core\hardware.ts | ||
}; | ||
/** | ||
* 设置本地日期时间 | ||
* @param date 日期字符串 | ||
* 支持: | ||
* yyyy-MM-dd HH:mm:ss | ||
* yyyy.MM.dd HH:mm:ss | ||
* yyyy/MM/dd HH:mm:ss | ||
* @returns | ||
*/ | ||
Hardware.SetLocalTime = function (date) { | ||
return this.OperateEx('SetLocalTime', { date: date }); | ||
}; | ||
return Hardware; | ||
@@ -360,0 +372,0 @@ }()); |
@@ -7,3 +7,3 @@ "use strict"; | ||
* @LastEditors: 文贝 | ||
* @LastEditTime: 2022-06-23 17:29:17 | ||
* @LastEditTime: 2022-07-19 09:19:23 | ||
* @Description: | ||
@@ -57,2 +57,14 @@ * @FilePath: \ics-chromely-plugin-core\src\core\hardware.ts | ||
}; | ||
/** | ||
* 设置本地日期时间 | ||
* @param date 日期字符串 | ||
* 支持: | ||
* yyyy-MM-dd HH:mm:ss | ||
* yyyy.MM.dd HH:mm:ss | ||
* yyyy/MM/dd HH:mm:ss | ||
* @returns | ||
*/ | ||
Hardware.SetLocalTime = function (date) { | ||
return this.OperateEx('SetLocalTime', { date: date }); | ||
}; | ||
return Hardware; | ||
@@ -59,0 +71,0 @@ }()); |
@@ -11,2 +11,12 @@ export default class Hardware { | ||
static CloseOS(): void; | ||
/** | ||
* 设置本地日期时间 | ||
* @param date 日期字符串 | ||
* 支持: | ||
* yyyy-MM-dd HH:mm:ss | ||
* yyyy.MM.dd HH:mm:ss | ||
* yyyy/MM/dd HH:mm:ss | ||
* @returns | ||
*/ | ||
static SetLocalTime(date: string): Promise<any>; | ||
} |
{ | ||
"name": "@icreate/ics-chromely-plugin-core", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"description": "提供Ics Chromely Client核心本地操作插件js sdk,包含本地日志、主窗体控制、打开三方浏览器、打印机列表、硬件IP和Mac地址、本地配置获取和注册表读写等", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
@@ -5,3 +5,3 @@ <!-- | ||
* @LastEditors: 文贝 | ||
* @LastEditTime: 2022-06-23 18:08:05 | ||
* @LastEditTime: 2022-07-19 09:27:27 | ||
* @Descripttion: | ||
@@ -17,2 +17,4 @@ * @FilePath: \ics-chromely-plugin-core\README.md | ||
``` | ||
0.0.13 HardwareHelper增加设置本地日期 | ||
0.0.12 修改注册表调用方法提供注册键设置 | ||
0.0.11 HardwareHelper增加获取操作系统版本、关闭操作系统和重启操作系统 | ||
@@ -19,0 +21,0 @@ 0.0.10 HardwareHelper增加获取操作系统描述GetOSDesc() |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
108865
1643
145