mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-25 09:30:28 +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">
|
||||
<option value="date">date</option>
|
||||
<option value="string">string</option>
|
||||
<option value="number">number</option>
|
||||
</$select>
|
||||
<$select tiddler=<<field>> field="import-field-source" default="column">
|
||||
<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));
|
||||
}
|
||||
break;
|
||||
case "number":
|
||||
value = cell.v.toString();
|
||||
break;
|
||||
case "string":
|
||||
// Intentional fall-through
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user