Daylight Hours note for iOS 13 only
Gives you fundamental information about today
Such as Sunrise and Sunset
Nothing great about that? But it also calculates the hours of Daylight and Hours of Darkness too.
Plus the weather where you are.
Nyheder
Version 1.0
First release
Hvad den gør
34 handlinger-
Get Current Weather
-
Get Details of Weather
-
Set VariableSun Up
-
Adjust Date
-
Set VariableUptomorrow
-
Get Details of Weather
-
Set VariableSun Down
-
Get Time Between Dates
-
Set VariableHoursDaylight
-
Get Time Between Dates
-
Set VariableDarkness
-
Nothing
-
Date
-
Get Time Between Dates
-
Set VariableTo Dark
-
Nothing
-
Adjust Date
-
Set VariableGolden hour
-
Nothing
-
Adjust Date
-
Set VariableBlue
-
Nothing
-
Get Details of Weather
-
Set VariableCondition
-
Get Details of Weather
-
Set VariableFeeling Like
-
Nothing
-
Get Time Between Dates
-
Set VariableTonight
-
If
-
Text
-
If
-
Text
-
Show Result
Vis som kode
Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.
#include 'actions/location'
#define color yellow
#define glyph sun
const WeatherConditions = getCurrentWeather()
getWeatherDetail(WeatherConditions, "Sunrise Time")
@SunUp
adjustDate(@SunUp, "")
@Uptomorrow
getWeatherDetail(WeatherConditions, "Sunset Time")
@SunDown
rawAction("is.workflow.actions.gettimebetweendates", {
"WFInput": "{@SunDown}",
"WFTimeUntilFromDate": "{@SunUp}",
"WFTimeUntilUnit": "Total Time"
})
@HoursDaylight
rawAction("is.workflow.actions.gettimebetweendates", {
"WFInput": "{@SunUp}",
"WFTimeUntilFromDate": "{@SunDown}",
"WFTimeUntilUnit": "Total Time"
})
@Darkness
nothing()
currentDate()
rawAction("is.workflow.actions.gettimebetweendates", {
"WFInput": "{@SunDown}",
"WFTimeUntilFromDate": "{}",
"WFTimeUntilUnit": "Total Time"
})
@ToDark
nothing()
adjustDate(@SunUp, "")
@GoldenHour
nothing()
adjustDate(@SunDown, "")
@Blue
nothing()
getWeatherDetail(WeatherConditions, "Condition")
@Condition
getWeatherDetail(WeatherConditions, "Feels Like")
@FeelingLike
nothing()
rawAction("is.workflow.actions.gettimebetweendates", {
"WFInput": "{@Uptomorrow}",
"WFTimeUntilFromDate": "{@SunDown}",
"WFTimeUntilUnit": "Total Time"
})
@Tonight
if CurrentDate contains "am" {
} else {
}
show()
Åbn i Cherri Playground
Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.
Bedømmelser og anmeldelser
Skriv en anmeldelse–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ingen anmeldelser endnu. Vær den første!
Annonce
Mere fra tonydudley
Du vil måske også kunne lide
Annonce