Ver código fonte

[nalunch] Fix

Innokentiy Enikeev 6 anos atrás
pai
commit
0886ff412a
1 arquivos alterados com 1 adições e 3 exclusões
  1. 1 3
      plugins/nalunch.lisp

+ 1 - 3
plugins/nalunch.lisp

@@ -119,9 +119,7 @@
                      #'(lambda (diff)
                          (bot-send-message (format-balance-left (user-balance)))
                          (process-new diff))
-                     :key #'(lambda (tr)
-                              (local-time:timestamp-to-universal
-                               (local-time:parse-timestring (agets tr "time"))))))
+                     :key #'pta-ledger:entry-date))
 
 ;; Hooks
 (defun handle-set-cron (enable)