diff options
author | Jean-Pierre Ledure <jp@ledure.be> | 2023-11-12 16:33:02 +0100 |
---|---|---|
committer | Jean-Pierre Ledure <jp@ledure.be> | 2023-11-12 17:44:55 +0100 |
commit | 5dac0fe157a5c35824cab2c27e391ff7a0d1d421 (patch) | |
tree | feafbd112ba3fb88d3aadd3b9598b0e408069390 /sw/source | |
parent | 544d8947965b682e24fe109654eee181e6c3b0fd (diff) |
ScriptForge (SFDatabases) fix dates processing in GetRows
The
database.GetRows()
dataset.GetRows()
methods return an array of data collected
in a database table or query.
When a column has the type DATE, the transmission
of their values through the Basic-Python bridge
require them to be converted upfront to UNO
DateTime structures.
The later conversion from UNO DateTime to the python
datetime.datetime structure has been added with
this patch.
No impact on Basic scripts.
The documentation does not need to be changed.
Change-Id: I7a6533aff70d2d1402bfc3f057b65a4940148cc4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159348
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
Diffstat (limited to 'sw/source')
0 files changed, 0 insertions, 0 deletions