thegrumpys / odop

Open Design Optimization Platform (ODOP) - Coil spring design app; mechanical springs; compression spring, extension spring, torsion spring
https://www.springdesignsoftware.org
MIT License
4 stars 5 forks source link

File : Properties Date field does not accept slashes as input #911

Open grumpyinca opened 5 months ago

grumpyinca commented 5 months ago

File : Properties gathers metadata about the current design. In the spring design types, Report 3 presents this information and allows it to be printed.

When entering fields in File : Properties, slashes (both forward slash and backslash) are suppressed. This makes it difficult to enter dates in a format like "12/12/2024".

It is possible that, in the existing code, slashes are suppressed because they cause problems when preparing the design to be stored in the database. It may be necessary to do some sort of substitution (dash/minus or %2F for forward slash and %5C for backslash ?) or provide an escape character (perhaps # ?).