python online 加块

时间戳转日期
enumerate函数
This commit is contained in:
Irene-Maxine
2024-10-15 00:33:54 +08:00
parent f260227486
commit d95c05ebf9
8 changed files with 89 additions and 2 deletions

View File

@@ -1032,4 +1032,16 @@ export const get_unique_identifier = {
};
// export const base_type = controls_type;
// export const controls_TypeLists = controls_typeLists;
// export const controls_TypeLists = controls_typeLists;
export const datetime_fromtimestamp = {
init: function () {
this.setColour(LOOPS_HUE);
this.appendValueInput('VAR')
.appendField(Blockly.Msg.MIXLY_RTC_TIMESTAMP);
this.appendDummyInput()
.appendField(Blockly.Msg.MIXLY_TIMESTAMP_TO_DATA);
this.setInputsInline(true);
this.setOutput(true, Number);
}
};