File tree 3 files changed +22
-22
lines changed
3 files changed +22
-22
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " reactgenie-lib" ,
3
- "version" : " 1.1.44 " ,
3
+ "version" : " 1.1.45 " ,
4
4
"description" : " A Toolkit for Multimodal Applications" ,
5
5
"author" : " valkjsaaa" ,
6
6
"license" : " Apache-2.0" ,
44
44
"react-native-elements" : " ^3.4.3" ,
45
45
"react-native-root-toast" : " ^3.5.1" ,
46
46
"react-speech-recognition" : " ^3.9.1" ,
47
- "reactgenie-dsl" : " ^0.0.40 " ,
47
+ "reactgenie-dsl" : " ^0.0.41 " ,
48
48
"reflect-metadata" : " ^0.1.13" ,
49
49
"web-speech-cognitive-services" : " 7.1.3" ,
50
50
"microsoft-cognitiveservices-speech-sdk" : " 1.32.0" ,
Original file line number Diff line number Diff line change @@ -121,12 +121,12 @@ export class DateTime extends HelperClass {
121
121
122
122
@GenieFunction ( "Create a new date time object" )
123
123
static CreateDatetime ( {
124
- year = undefined ,
125
- month = undefined ,
126
- day = undefined ,
127
- hour = undefined ,
128
- minute = undefined ,
129
- second = undefined ,
124
+ year,
125
+ month,
126
+ day,
127
+ hour,
128
+ minute,
129
+ second,
130
130
} : {
131
131
year ?: int ;
132
132
month ?: int ;
@@ -166,13 +166,13 @@ export class DateTime extends HelperClass {
166
166
167
167
@GenieFunction ( "Set the date of the date time object" )
168
168
setDate ( {
169
- year = undefined ,
170
- month = undefined ,
171
- day = undefined ,
172
- hour = undefined ,
173
- minute = undefined ,
174
- second = undefined ,
175
- day_of_the_week = undefined ,
169
+ year,
170
+ month,
171
+ day,
172
+ hour,
173
+ minute,
174
+ second,
175
+ day_of_the_week,
176
176
} : {
177
177
year ?: int ;
178
178
month ?: int ;
@@ -193,7 +193,7 @@ export class DateTime extends HelperClass {
193
193
}
194
194
if ( day_of_the_week !== undefined ) {
195
195
this . _date . setDate (
196
- this . _date . getDate ( ) + ( day_of_the_week - this . _date . getDay ( ) )
196
+ this . _date . getDate ( ) + ( day_of_the_week - this . _date . getDay ( ) ) ,
197
197
) ;
198
198
}
199
199
if ( hour !== undefined ) {
You can’t perform that action at this time.
0 commit comments