Skip to content
Snippets Groups Projects
Commit 234f3c7b authored by GAYDAMAKHA MIKHAIL's avatar GAYDAMAKHA MIKHAIL
Browse files

:bug: fix web registry date parsing

parent 8aec329d
Branches
2 merge requests!41Develop,!40Feature/post registry
......@@ -69,7 +69,7 @@ public class WebRegistryController {
RegistryEntry entry = new RegistryEntry(
0,
registryInfo.getTransactionType(),
(new SimpleDateFormat()).parse(registryInfo.getDate()),
(new SimpleDateFormat("yyyy-MM-dd HH:mm")).parse(registryInfo.getDate()),
registryInfo.getAccountId(),
registryInfo.getDebit(),
registryInfo.getCredit(),
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment