[GNC-dev] Typo in gnucash/gnome-utils/gnc-date-edit.c or incorrect string altogether?

Kevin Buckley kevin.m.buckley at gmail.com
Thu Apr 7 00:39:06 EDT 2022


Spotted this one recently

gnucash/gnome-utils/gnc-date-edit.c:658:
                                            "Date/time represented in
seconds since Januari 31st, 1970",

and assumed it was just a mis-typing of "January"

However, as I can't find another instance of "January 31st" in the codebase,
was wondering if it should be "January 1st"

For context, it's in this function

gnc_date_edit_class_init

in this call

    g_object_class_install_property(object_class,
                                    PROP_TIME,
                                    g_param_spec_int64("time",
                                            "Date/time (seconds)",
                                            "Date/time represented in
seconds since Januari 31st, 1970",
                                            G_MININT64,
                                            G_MAXINT64,
                                            0,
                                            G_PARAM_READWRITE));


HTH,
Kevin


More information about the gnucash-devel mailing list