mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-19 01:04:25 +08:00
support using parseDateTime function and IANA time zone names when importing DSV files using custom script
This commit is contained in:
+3
-2
@@ -1404,8 +1404,8 @@
|
||||
"functionParamRowDescription": "An array of string, each element is a column value",
|
||||
"functionParamIndexDescription": "The row index (0-based)",
|
||||
"functionReturnDescription": "An object representing a transaction (with the fields defined below), or null to skip this row",
|
||||
"fieldTimeDescription": "[required] Transaction time, format: YYYY-MM-DD HH:mm:ss",
|
||||
"fieldUtcOffsetDescription": "[required] Transaction timezone offset in minutes, e.g. '480' for UTC+8, '-300' for UTC-5",
|
||||
"fieldTimeDescription": "[required] Transaction time, format: YYYY-MM-DD HH:mm:ss. You can also use the parseDateTime(value, format) function to convert a custom formatted time string to the standard format, where 'format' argument is the format of the custom time string, e.g. parseDateTime('12/31/2023 23:59', 'MM/DD/YYYY HH:mm') means converting '12/31/2023 23:59' to the standard format '2023-12-31 23:59:00'",
|
||||
"fieldUtcOffsetDescription": "[required] Transaction timezone offset in minutes, e.g. '480' for UTC+8, '-300' for UTC-5. You can also use the parseUtcOffset(timezoneName) function to get the timezone offset in minutes automatically according to the transaction time, where 'timezoneName' argument is the IANA time zone name, e.g. parseUtcOffset('Asia/Shanghai') means getting the timezone offset in minutes for Beijing Time",
|
||||
"fieldTypeDescription": "[required] Transaction type, must be one of 'TransactionType.Income', 'TransactionType.Expense' or 'TransactionType.Transfer'",
|
||||
"fieldCategoryNameDescription": "[optional] Category name",
|
||||
"fieldSourceAccountNameDescription": "[optional] Source account name",
|
||||
@@ -1961,6 +1961,7 @@
|
||||
"Please execute the custom script first": "Please execute the custom script first",
|
||||
"Executing Script...": "Executing Script...",
|
||||
"No parse function defined": "No parse function defined",
|
||||
"Failed to parse time": "Failed to parse time",
|
||||
"Failed to execute custom script": "Failed to execute custom script",
|
||||
"Batch Replace Selected Expense Categories": "Ausgewählte Ausgabenkategorien im Batch ersetzen",
|
||||
"Batch Replace Selected Income Categories": "Ausgewählte Einnahmenkategorien im Batch ersetzen",
|
||||
|
||||
Reference in New Issue
Block a user