mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[split-register-model] don't strdup gnc_print_time64
This commit is contained in:
parent
bd83c28a51
commit
00983576f4
@ -993,7 +993,6 @@ gnc_split_register_get_date_help (VirtualLocation virt_loc,
|
|||||||
{
|
{
|
||||||
SplitRegister* reg = user_data;
|
SplitRegister* reg = user_data;
|
||||||
BasicCell* cell;
|
BasicCell* cell;
|
||||||
const char* date_string;
|
|
||||||
time64 cell_time;
|
time64 cell_time;
|
||||||
|
|
||||||
cell = gnc_table_get_cell (reg->table, virt_loc);
|
cell = gnc_table_get_cell (reg->table, virt_loc);
|
||||||
@ -1004,9 +1003,7 @@ gnc_split_register_get_date_help (VirtualLocation virt_loc,
|
|||||||
|
|
||||||
/* Translators: This is a date format, see i.e.
|
/* Translators: This is a date format, see i.e.
|
||||||
https://www.gnu.org/software/libc/manual/html_node/Formatting-Calendar-Time.html */
|
https://www.gnu.org/software/libc/manual/html_node/Formatting-Calendar-Time.html */
|
||||||
date_string = gnc_print_time64 (cell_time, _ ("%A %d %B %Y"));
|
return gnc_print_time64 (cell_time, _("%A %d %B %Y"));
|
||||||
|
|
||||||
return g_strdup (date_string);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char*
|
static const char*
|
||||||
|
Loading…
Reference in New Issue
Block a user