{"issue":{"state":"open","created_at":"2011-12-11T15:17:37Z","updated_at":"2011-12-12T19:29:47Z","comments":2,"user":{"gravatar_id":"d43a07df5367c3c109f21374c1ab0c0c","id":1094699,"url":"https://api.github.com/users/varres","avatar_url":"https://secure.gravatar.com/avatar/d43a07df5367c3c109f21374c1ab0c0c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"varres"},"body":"aktiivne on kirje ka siis, kui kuupäev on\r\nhomme, mitte ainult aastal 9999\r\n\r\nSulgeja ja suletud võib teha ühe updatega, ei ole mõtet kiusata baasi\r\nQuery q = entityManager().createQuery(\"UPDATE \" + table + \" SET suletud=:date, sulgeja=:sulgeja WHERE id=\" + id);\r\nq.setParameter(\"date\", getDate());\r\nq.setParameter(\"sulgeja\", user);","assignee":null,"number":1,"id":2516193,"pull_request":{"patch_url":"https://github.com/siimav/Piirivalve/pull/1.patch","html_url":"https://github.com/siimav/Piirivalve/pull/1","diff_url":"https://github.com/siimav/Piirivalve/pull/1.diff"},"labels":[],"title":"Kuupäeva võrdluse parandus","html_url":"https://github.com/siimav/Piirivalve/issues/1","closed_at":null,"url":"https://api.github.com/repos/siimav/Piirivalve/issues/1","milestone":null},"action":"created","comment":{"created_at":"2011-12-12T19:29:47Z","updated_at":"2011-12-12T19:29:47Z","user":{"gravatar_id":"d43a07df5367c3c109f21374c1ab0c0c","id":1094699,"url":"https://api.github.com/users/varres","avatar_url":"https://secure.gravatar.com/avatar/d43a07df5367c3c109f21374c1ab0c0c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"varres"},"body":"Kuupäevadega selline lugu, et tegu on minuarust üsna suure loogika veaga. Hetkel see vast toimib, kuid ei tea kunagi ette, mida klient järgmisena soovib.. mõttetu on endale tulevikuks lisatööd teha, kui võimalik kohe korrektselt teha. Jään endiselt oma arvamuse juurde","id":3111133,"url":"https://api.github.com/repos/siimav/Piirivalve/issues/comments/3111133"}}