mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-26 10:00:34 +00:00
Merge branch 'parameterised-transclusions' into geospatial-plugin
This commit is contained in:
commit
1ee77fb15a
@ -115,6 +115,7 @@ the
|
|||||||
<$select tiddler=<<field>> field="import-field-type" default="string">
|
<$select tiddler=<<field>> field="import-field-type" default="string">
|
||||||
<option value="date">date</option>
|
<option value="date">date</option>
|
||||||
<option value="string">string</option>
|
<option value="string">string</option>
|
||||||
|
<option value="number">number</option>
|
||||||
</$select>
|
</$select>
|
||||||
<$select tiddler=<<field>> field="import-field-source" default="column">
|
<$select tiddler=<<field>> field="import-field-source" default="column">
|
||||||
<option value="column">from column</option>
|
<option value="column">from column</option>
|
||||||
|
@ -132,6 +132,9 @@ XLSXImporter.prototype.processField = function(fieldImportSpecTitle) {
|
|||||||
value = $tw.utils.stringifyDate(new Date((cell.v - (25567 + 2)) * 86400 * 1000));
|
value = $tw.utils.stringifyDate(new Date((cell.v - (25567 + 2)) * 86400 * 1000));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case "number":
|
||||||
|
value = cell.v.toString();
|
||||||
|
break;
|
||||||
case "string":
|
case "string":
|
||||||
// Intentional fall-through
|
// Intentional fall-through
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user