> (...)

> It sounds like the format you're using is either invalid, or you didn't
> assign it correctly.  What do your invoices say for the Invoice ID when
> you create them in the dialog?

in the dialog for creating a new invoice the number field is blank which would 
default to the next sequential number in the specified format.

with format '%04d' in the invoice it shows as '000001'.

where can i find the format specification for mac? it is a bsd unix.

SOLVED:

in old mails i see that 'G_INT64_FORMAT' should be used. looking in the sources 
i saw only 'G_GINT64_FORMAT'.
in glib for osx there is this fragment:

+#ifdef __LP64__
+#define G_GINT64_MODIFIER "l"
+#define G_GINT64_FORMAT "li"
+#define G_GUINT64_FORMAT "lu"
+#else
+#define G_GINT64_MODIFIER "ll"
+#define G_GINT64_FORMAT "lli"
+#define G_GUINT64_FORMAT "llu"
+#endif

and surprise surprise 'F2018-%04li' shows as 'F2018-0001'.

i wonder why 'li' works and 'ld' doesn't.

thanks for your help!
-paul.
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to