> On Apr 6, 2022, at 9:39 PM, Kevin Buckley <kevin.m.buck...@gmail.com> wrote:
>
> 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));
>
Yes to both: It should be 1 January 1970. I've clarified further by specifying
that it's "since midnight UTC, 1 January 1970". Thanks for noticing.
Regards,
John Ralls
_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel