56 lines
1.9 KiB
JSON
56 lines
1.9 KiB
JSON
{
|
|
"$schema": "../TcHmiFramework/Schema/FunctionDescription.Schema.json",
|
|
"apiVersion": 1,
|
|
"version": {
|
|
"full": "14.3.340.0",
|
|
"major": 14,
|
|
"minor": 3,
|
|
"build": 340,
|
|
"revision": 0
|
|
},
|
|
"dependencyFiles": [
|
|
{
|
|
"name": "ToDateString.js",
|
|
"type": "JavaScript",
|
|
"description": ""
|
|
}
|
|
],
|
|
"function": {
|
|
"name": "ToDateString",
|
|
"namespace": "TcHmi.Functions.Beckhoff",
|
|
"displayName": "ToDateString",
|
|
"visible": true,
|
|
"description": "Converts Strings, Numbers (milliseconds since 1970) and JS Date Objects \nto strings containing the date.",
|
|
"category": "Data Conversion",
|
|
"returnValue": {
|
|
"type": "tchmi:general#/definitions/String"
|
|
},
|
|
"arguments": [
|
|
{
|
|
"name": "date",
|
|
"displayName": "Date",
|
|
"type": "tchmi:general#/definitions/Any",
|
|
"description": "Strings, Numbers (milliseconds since 1970) and JS Date Objects to be converted",
|
|
"required": true,
|
|
"bindable": true
|
|
},
|
|
{
|
|
"name": "timeFormatLocale",
|
|
"displayName": "TimeFormatLocale",
|
|
"type": "tchmi:general#/definitions/Locale",
|
|
"description": "The locale of the return string. \nIf not set this will use the time format locale of the current user.",
|
|
"required": false,
|
|
"bindable": true
|
|
},
|
|
{
|
|
"name": "timeZone",
|
|
"displayName": "timeZone",
|
|
"type": "tchmi:general#/definitions/TimeZone",
|
|
"description": "The timezone of the return string",
|
|
"defaultValue": null,
|
|
"required": false,
|
|
"bindable": true
|
|
}
|
|
]
|
|
}
|
|
} |