mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Use correct parameter sequence for g_date_time_get_ymd
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22648 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
2e8bd476b0
commit
a7a30aa24f
@ -1612,7 +1612,7 @@ GDate* gnc_g_date_new_today ()
|
||||
gint day, month, year;
|
||||
GDate *result;
|
||||
|
||||
g_date_time_get_ymd (gdt, &day, &month, &year);
|
||||
g_date_time_get_ymd (gdt, &year, &month, &day);
|
||||
result = g_date_new_dmy (day, month, year);
|
||||
g_date_time_unref (gdt);
|
||||
g_assert(g_date_valid (result));
|
||||
|
Loading…
Reference in New Issue
Block a user