summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/example/example.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/example/example.go b/internal/example/example.go
index b29561c..56ffb23 100644
--- a/internal/example/example.go
+++ b/internal/example/example.go
@@ -22,6 +22,7 @@ import (
"os"
"path/filepath"
"strings"
+ "time"
"github.com/jung-kurt/gofpdf"
)
@@ -30,6 +31,8 @@ var gofpdfDir string
func init() {
setRoot()
+ gofpdf.SetDefaultCatalogSort(true)
+ gofpdf.SetDefaultCreationDate(time.Date(2000, 1, 1, 0, 0, 0, 0, time.UTC))
}
// Assign the relative path to the gofpdfDir directory based on current working