Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A bug of Cron expression parser #1511

Open
wzhy2098 opened this issue Feb 28, 2025 · 1 comment
Open

A bug of Cron expression parser #1511

wzhy2098 opened this issue Feb 28, 2025 · 1 comment
Labels
app-kind:GUI bug Something isn't working untriaged

Comments

@wzhy2098
Copy link

Current behavior

Cron expression to parse: 0 50 3 ? * **1,3,5**
Description : At 03:50 AM, only on Monday, Wednesday, and Friday

In the cron expression 1 represents Sunday and 2 represents Monday 1

Image

How to reproduce it (as minimally and precisely as possible)

Expected behavior

Cron expression to parse: 0 50 3 ? * **2,4,6**
Description : At 03:50 AM, only on Monday, Wednesday, and Friday
or
Cron expression to parse: 0 50 3 ? * **1,3,5**
Description : At 03:50 AM, only on SUNDAY, TUESDAY, and THURSDAY

Screenshots

No response

Workaround

No response

Affected platforms

No response

Affected DevToys kind

DevToys (app with GUI)

DevToys Version

Version 1.0.14.0 | X64 | RELEASE | 3ad0ff2 | 3ad0ff2

Relevant Assets/Logs

No response

@wzhy2098 wzhy2098 added bug Something isn't working untriaged labels Feb 28, 2025
@bebyzz
Copy link

bebyzz commented Apr 4, 2025

I'm unable to recreate your issue on mac Version 2.0-preview.8 see below for screen shots
What platform are you on and are using the the most recent version?

0 50 3 ? * 1,3,5
Image
0 50 3 ? * 2,4,6
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app-kind:GUI bug Something isn't working untriaged
Projects
None yet
Development

No branches or pull requests

2 participants