Groza
(95)
December 10, 2022, 6:32pm
#1
This is my first extension created on the wonderful plugin builder.
https://create.rapidbuilder.tech/
Of course, before the extensions of the local coders, it’s hard to call an extension) but this is my first extension, thanks to the help in the community
I started to understand something about it.
the extension uses the api.
{
"code": 200,
"status": "OK",
"data": {
"hijri": {
"date": "27-26-1",
"format": "DD-MM-YYYY",
"day": "27",
"weekday": {
"en": "Al Sabt",
"ar": "السبت"
},
"month": null,
"year": "1",
"designation": {
"abbreviated": "AH",
"expanded": "Anno Hegirae"
},
"holidays": []
},
"gregorian": {
"date": "06-11-0202",
"format": "DD-MM-YYYY",
"day": "06",
"weekday": {
"en": "Saturday"
},
"month": {
"number": 11,
"en": "November"
},
"year": "0202",
"designation": {
"abbreviated": "AD",
"expanded": "Anno Domini"
}
}
}
}
the extension is simple, it would be possible to do without purple blocks, in fact these are the keys
Hijri_Calendar.aia (12.5 KB)
com.HijriCalendar.api.aix (8.7 KB)
5 Likes
Taifun
December 10, 2022, 10:54pm
#2
Thank you for your contribution…
Great, that you are using Rapid… however I tought, Rapid reminds the user to follow the naming conventions… unfortunately it looks like this is not the case…
If you are developing an extension, then please follow the naming conventions, which is UpperCamelCase for the package name as well as for property, method and event names (i.e. the first letter should be a capital letter) and lowerCamelCase for parameter names, no underscores .
Example
[naming]
What does UpperCamelCase mean?
UpperCamelCase (part of CamelCase ) is a naming convention in which a name is formed of multiple words that are joined together as a single word with the first l…
Please follow the naming conventions, update the extension and screenshots… thank you. .
Taifun
Groza
(95)
February 22, 2023, 12:00pm
#4
there is an extension in the community that is much simpler and better. look for it.
hijri Date using JavaScript
code is :
let today = new Date().toLocaleDateString(‘fa-IR-u-nu-latn’);
console.log(today);
or
let options = { year: ‘numeric’, month: ‘long’, day: ‘numeric’ };
let today = new Date().toLocaleDateString(‘fa-IR’, options);
console.log(today);
TO HIJRI SAUDI
code :
let today = new Date().toLocaleDateString(‘ar-SA’); console.log(today);
only one click no more
thanks
chaboyal
(issam al-alawi)
April 19, 2023, 1:13pm
#6
Could send aia file for this app
chaboyal:
aia
Unfortunately i use free kodular and i can not create new project
it’s clear create block as above image
you need a web viewer and call javascript - when get console message done . you got local date
IMPORT THIS SCREEN TO YOUR PROJECT
ONLINEDATE_Screen2.ais (2.3 KB)
IMPORTANT only one click to get date no more
for more test
click on refresh
chaboyal
(issam al-alawi)
April 22, 2023, 9:50pm
#10
thanks but this is ais file not aia file
saeidnorouzi:
SCREEN
to become a programmer You should have to be persistent.
1 Like