Skip to content

Commit 7b5629c

Browse files
committed
usefull scripts && lab6 enhancement
1 parent 61e4cb9 commit 7b5629c

File tree

21 files changed

+1236
-80
lines changed

21 files changed

+1236
-80
lines changed

lab5/src/collectionManagers/modeManagers/nonUserMode/CityNonUserManager.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ public City buildObject() throws BuildObjectException {
7070
System.out.println();
7171

7272
// date
73-
result.setCreationDate(Date.from(Instant.now()));
73+
java.util.Date creationDate = java.sql.Date.valueOf(LocalDate.now());
74+
city.setCreationDate(creationDate);
7475
System.out.println("Generated at: " + result.getCreationDate());
7576
System.out.println("Object generated! Validating result...");
7677
System.out.println();

0 commit comments

Comments
 (0)