Bugfixes + Potential iOS Webtoon Reader Fix (#2650)
This commit is contained in:
parent
56fa393cf0
commit
f660a1cd06
25 changed files with 157 additions and 197 deletions
|
@ -12,8 +12,14 @@ public static class CronConverter
|
|||
"daily",
|
||||
"weekly",
|
||||
};
|
||||
public static string ConvertToCronNotation(string source)
|
||||
/// <summary>
|
||||
/// Converts to Cron Notation
|
||||
/// </summary>
|
||||
/// <param name="source">Defaults to daily</param>
|
||||
/// <returns></returns>
|
||||
public static string ConvertToCronNotation(string? source)
|
||||
{
|
||||
if (string.IsNullOrEmpty(source)) return Cron.Daily();
|
||||
return source.ToLower() switch
|
||||
{
|
||||
"daily" => Cron.Daily(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue