Closed g1eb closed 2 years ago
For precision options are: year, month, day Internally the options map to: 9, 10, 11
Ke-Thia, just to clarify, do you mean year=9
, month=10
and day=11
?
Yes, that is correct
Sounds good, I'll add the dropdown menu with those options for the precision
.
Do you have any pointers on where to get the options for the format
dropdown menu?
Let's use these date formats in the dropdown menu. The user should be able to enter other formats.
For the precisions it looks like t2wml will automatically convert the stings to integers (year -> 9). @devowit Is this correct?
@devowit I'm getting an error when trying to save these date format values, do we need to wrap them in quotes?
errorCode: 500
errorDescription: "Error returned from get_causx_partial_csv: while scanning for the next token\nfound character '%' that cannot start any token\n in \"<unicode string>\", line 15, column 23:\n format: %Y\n ^300"
errorTitle: "ValueError"
yes, needs to be wrapped in quotes because internally everything gets converted to yaml and yaml treats % as a special character.....
gotcha, that's what I did to get it to work, we can close this ticket I think
We discussed adding dropdown menus for the P585
precision
andformat
menus. @kyao could you point me to where we can get these options? Thanks!!