HangfireIO / HangfireIO/Cronos

Autodetect parse with seconds

Open
#8 8 comments 1 reaction 0 assignees View on GitHub
question
Dominant language
C#
Stars
1.2k
Forks
137
Avg merge
5d 11h
Merged PRs (30d)
1

Description

Hi,
I'm using Cronos inside application which read user configurations which could have standard minutes form or extended with seconds. Problem is, i do not know if user enter one or another and `Parse()` method without second parameter throws `Cronos.CronFormatException: Unexpected character '*'.`.
How should i detect if it is standard form or extended when Cronos can't detect it by itself?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.