chipmunk
chipmunk copied to clipboard
Indexer: discover timestamp
affected version: 2.5.1
make sure to check this before filing an issue:
- [x] I am running the latest version
- [x] I checked to make sure that this issue has not already been filed
Describe the issue
Indexer returns wrong regular expression for format DD-MM-YY hh:mm:ss
. YY
is accepted as text, but not as numbers of the short year.
Steps to Reproduce
- Open chipmunk
- Open any file with datetime format
DD-MM-YY hh:mm:ss
- Open Timemeasurement tab
- Add format
DD-MM-YY hh:mm:ss
The indexer will return wrong regular expression
Debug
Put break-point (in browser devtools) to application/client.core/src/app/environment/controller/controller.session.tab.timestamp.ts:405
. See content of response
variable. By path response.format.regex
will be available detected regular expression.
Note, to activate dev-tool set environment variable export CHIPMUNK_DEVELOPING_MODE=ON