Skip to content

24 hour option not respected with english locale #54

@tanyona

Description

@tanyona

For a schedule like 0 2 18 * * ?

If you have

Options cronOptions = new Options();
cronOptions.setZeroBasedDayOfWeek(false); //day of the week for quartz cron starts at 1 i.e. SUN
cronOptions.setTwentyFourHourTime(true);

String description = CronExpressionDescriptor.getDescription(cronString, cronOptions, Locale.ENGLISH);

it will display something like At 6:02 PM. I would expect it to display something like "At 18:02". It does this for other locales e.g. it, de etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions