From 04af0964ef052d8a1f42e0e08b9fd221000c6290 Mon Sep 17 00:00:00 2001 From: Robert von Burg Date: Fri, 18 Nov 2022 10:29:48 +0100 Subject: [PATCH] [Fix] Fixed ZonedDateTime field --- .gitignore | 2 ++ content/api/_index.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index a921334..b062ccf 100644 --- a/.gitignore +++ b/.gitignore @@ -46,3 +46,5 @@ Thumbs.db # Netbeans IDE files /nbproject/private/ /nbproject/ + +*.lock diff --git a/content/api/_index.md b/content/api/_index.md index 11fe656..dfe57a6 100644 --- a/content/api/_index.md +++ b/content/api/_index.md @@ -35,7 +35,7 @@ public class Test { public static void main(String[] args) { try (StrolchTransaction tx = openTx(realmName)) { Resource resource = tx.getResourceBy("MyType", "myResource"); - Date date = resource.getDate("myBag", "myParam1"); + ZonedDateTime date = resource.getDate("myBag", "myParam1"); logger.info("myParam date has value " + date); } }