From 100022d3eaf78d6c4adad647cb00b03a1befffb0 Mon Sep 17 00:00:00 2001
From: polamjag <s@polamjag.info>
Date: Thu, 14 Aug 2014 02:10:18 +0900
Subject: [PATCH] append .xmlschema to system hook timestamp

---
 app/services/system_hooks_service.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/services/system_hooks_service.rb b/app/services/system_hooks_service.rb
index 41014f199d..9ac1cfb3ba 100644
--- a/app/services/system_hooks_service.rb
+++ b/app/services/system_hooks_service.rb
@@ -18,7 +18,7 @@ class SystemHooksService
   def build_event_data(model, event)
     data = {
       event_name: build_event_name(model, event),
-      created_at: model.created_at
+      created_at: model.created_at.xmlschema
     }
 
     case model
-- 
2.30.9