@muuulle sagte in Zu einem Datum einen Tag dazuzählen:
@fastfoot
Super, so klappt es. Nur bräuchte ich die englische Schreibweise 🥴 kann man das auch so ausgeben lassen?
Danke
Nein, dazu müsstest du warten bis der Fehler gefixt ist(issue ist erstellt). Natürlich könnte man es auch über eine JS-Funktion lösen, Ist dann aber kein reines Blockly mehr
Tagname2.PNG
Wochentag mit JS-Funktion
<xml xmlns="https://developers.google.com/blockly/xml">
<variables>
<variable id="C?4ra}V3v@2Vl2,C}v3)">offset</variable>
<variable id="(;Et]hscj!}uSN4AfKm(">lang</variable>
</variables>
<block type="procedures_defcustomreturn" id="C@51mh(#!sZ[8%T2f?]N" x="37" y="13">
<mutation statements="false">
<arg name="offset" varid="C?4ra}V3v@2Vl2,C}v3)"></arg>
<arg name="lang" varid="(;Et]hscj!}uSN4AfKm("></arg>
</mutation>
<field name="NAME">Tagname</field>
<field name="SCRIPT">cmV0dXJuIGZvcm1hdERhdGUoZ2V0RGF0ZU9iamVjdCgoKG5ldyBEYXRlKCkuZ2V0VGltZSgpKSArIDg2NDAwMDAwICogb2Zmc2V0KSksICJXVyIsbGFuZyk7</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
</block>
<block type="debug" id="xk1c[=-o!^|WVM:dS_/Z" collapsed="true" disabled="true" x="37" y="37">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="ZR/M[}zO3i-|6$F59yx|">
<field name="TEXT">test</field>
</shadow>
<block type="convert_from_date" id="=3g57gt[asI1cE,cJlos">
<mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation>
<field name="OPTION">custom</field>
<field name="FORMAT">WW</field>
<value name="VALUE">
<block type="math_arithmetic" id="0IwDof^^h1/VkN6-yTyi" inline="false">
<field name="OP">ADD</field>
<value name="A">
<shadow type="math_number" id="fSW!Z`#_4DLj4^F9rUuu">
<field name="NUM">1</field>
</shadow>
<block type="time_get" id="tz=(7:CmMoc}pfc@bJ]j">
<mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
<field name="OPTION">object</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="lLINmcJ=m0e_?Gds`%[w">
<field name="NUM">0</field>
</shadow>
<block type="math_arithmetic" id="0g-8$Ig1aFv/Y#1WCn$`">
<field name="OP">MULTIPLY</field>
<value name="A">
<shadow type="math_number" id="{I^Pk*!_yWHiy2ThxA|P">
<field name="NUM">86400000</field>
</shadow>
</value>
<value name="B">
<shadow type="math_number" id="bWoM/+Fjy%ZrA[@LiDNq">
<field name="NUM">1</field>
</shadow>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<next>
<block type="debug" id="NgQQ}4=E6IjIw?V]%UC1">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="a6+|hC[T_=o90=[ctle*">
<field name="TEXT">test</field>
</shadow>
<block type="procedures_callcustomreturn" id="rD@kYgIM$dZv1UMWD;vB" inline="true">
<mutation name="Tagname">
<arg name="offset"></arg>
<arg name="lang"></arg>
</mutation>
<value name="ARG0">
<block type="math_number" id="pq*qn0(;^O)p)1Vxc#PZ">
<field name="NUM">1</field>
</block>
</value>
<value name="ARG1">
<block type="text" id="FA0(o[AN;!bfL_S-ycng">
<field name="TEXT">en</field>
</block>
</value>
</block>
</value>
<next>
<block type="debug" id="e%dq(2yDQ#|8sIW0h:W7">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT">test</field>
</shadow>
<block type="procedures_callcustomreturn" id="LMQ{n(y0Hi}_sgXpB:Y}" inline="true">
<mutation name="Tagname">
<arg name="offset"></arg>
<arg name="lang"></arg>
</mutation>
<value name="ARG0">
<block type="math_number" id="?MarjXm!g7[eS@K)P|$L">
<field name="NUM">6</field>
</block>
</value>
<value name="ARG1">
<block type="text" id="-u!?$rJ*ci?Q@xozcgIZ">
<field name="TEXT">de</field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</xml>