Opened 4 years ago

Closed 4 years ago

#14557 closed enhancement (wontfix)

Warn about improper format for duration=*, possibly help auto-correct it.

Reported by: DevonF Owned by: team
Priority: normal Milestone:
Component: Core validator Version:
Keywords: Cc:

Description (last modified by DevonF)

The duration=* should be standard such as the ISO 8601. If it doesn't conform, it would be good to add it to the validator warnings before uploading. Then in the warnings, link to the wikipage to make it fast and easy for people to learn the correct format.

I've also requested the OpeningHoursEditor plugin to support it in #14556, but I think a warning is easier to implement and not everyone will have the plugin.

Attachments (0)

Change History (2)

comment:1 Changed 4 years ago by DevonF

Description: modified (diff)

comment:2 Changed 4 years ago by Klumbumbus

Component: CoreCore validator
Resolution: wontfix
Status: newclosed

The wiki page of this tag says "The recommended format is the simple 'hh:mm' format for hours and minutes." and taginfo shows that about 95% of the 2133 values are in the simple format. So a validator warning would contradict the wiki and the current usage.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.