TP->T64: gnucash/report/utility-reports/hello-world.scm

This commit is contained in:
Christopher Lam 2017-12-24 06:47:31 +08:00
parent 4fd36b889f
commit 6d89cc70be

View File

@ -267,13 +267,13 @@ option like this.")
;; these are samples of different date options. for a simple ;; these are samples of different date options. for a simple
;; date with day, month, and year but no time you should use ;; date with day, month, and year but no time you should use
;; gnc-print-date ;; qof-print-date
(let ((time-string (strftime "%X" (gnc-localtime (current-time)))) (let ((time-string (strftime "%X" (gnc-localtime (current-time))))
(date-string (strftime "%x" (gnc-localtime (car date-val)))) (date-string (strftime "%x" (gnc-localtime date-val)))
(date-string2 (strftime "%x %X" (gnc-localtime (car date2-val)))) (date-string2 (strftime "%x %X" (gnc-localtime date2-val)))
(rel-date-string (strftime "%x" (gnc-localtime (car rel-date-val)))) (rel-date-string (strftime "%x" (gnc-localtime rel-date-val)))
(combo-date-string (combo-date-string
(strftime "%x" (gnc-localtime (car combo-date-val))))) (strftime "%x" (gnc-localtime combo-date-val))))
;; Here's where we fill the report document with content. We ;; Here's where we fill the report document with content. We
;; do this by adding 'html objects' such as text, tables, and ;; do this by adding 'html objects' such as text, tables, and