Opened 8 months ago
Last modified 7 months ago
#2805 closed enhancement
FIX - wcst_import should convert number to datetime string — at Initial Version
Reported by: | Bang Pham Huu | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | major | Milestone: | 10.3 |
Component: | wcst_import | Version: | 10.3 |
Keywords: | Cc: | Dimitar Misev | |
Complexity: | Medium |
Description
for example:
"axes": { "time": { "min": "2015", "irregular": true, "dataBound": false, "areasOfValidity": [ { "start": "2015", "end": "2025" } ] },
here time
is AnsiDate
axis and "min": "2015",
should be converted to "2015-01-01"
implicitly instead of 2015 seconds and set the min
value to time("1970-01-01T00:33:35 00:00")
.
Currently, one has to do that manually in the ingredients file with:
3:13 PM "time": { "statements": "from datetime import datetime", "min": "datetime.strptime('2015', '%Y').isoformat()",
Note:
See TracTickets
for help on using tickets.