Version 4
Version 4 of this extension contains some new blocks and the extension has updated now fully.
Block Updated
This block has now changed due to @Santhosh request. Now current time parameter has changed , now you dont need to give the current time anymore.
This event raises when all the timezones from the API is fetched.
API is http://worldtimeapi.org/api/timezone/
This block fetches the all timezones as I said above
This block set the current timezone. It is updated now. Now you have to give the whole timezone i.e
Asia/Kolkata
.
This block define that which type of time you want to use in countdown. Like if you give here
Online Time
then it will use online time from API in countdown and if you giveOffline Time
here then it will use local device time for countdown. you can set it through properties.
Properties
I have added some timezones in property not all because they are 386 in total
How to use
I have recieved three consecutive pms about how to use this extension. This extension is very simple to use but they are facing issue with it. So today I am providing the usage of latest version here.
I hope @Santhosh , @Andy_0310 It will help you.
How to set Timezone
It is very easy to set the timezone for a particular place.
You can set the timezon from property and through blocks as I have mentioned above. If you dont know your timeserver then I have mentioned the API above you can use it. Also you can fetch the timezones and use it in this way
How to set Current Time Type
You can use offline time for countdown but it is hackable so we can use both types of time in countdown. Like when device automatic time is enabled then we will use offline time and when it is disabled then we will use online time from API in countdown. Look blocks
How to use the Countdown
People has a lot of confusion from where I have changed the return type of this block. So it is very easy to use. It return a Lit\st of four items that contains days,hours,minutes,seconds. You have to select them from that list and use it according to your needs. Like I have used it to text in a label first with some modification
Whole Blocks
Output
Updated Files
App:- Countdown.apk (5.4 MB)
Aia:- Countdown.aia (51.2 KB)
Extension link is at the above topic. Download it from there
So I hope now that your all doubts are cleared now with the usage of this extension.
I have worked very hard on this update so please like the extension.
Kindly update the extension for best work in your app
Thank you
Sumit.