chipmunk icon indicating copy to clipboard operation
chipmunk copied to clipboard

Indexer: discover timestamp

Open DmitryAstafyev opened this issue 4 years ago • 0 comments

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

  1. Open chipmunk
  2. Open any file with datetime format DD-MM-YY hh:mm:ss
  3. Open Timemeasurement tab
  4. 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

DmitryAstafyev avatar Jul 09 '20 08:07 DmitryAstafyev