[ARVADOS] updated: 40e9d6a079634dcd4447e12f57b6262aa1e1f15e

git at public.curoverse.com git at public.curoverse.com
Mon Feb 16 17:24:52 EST 2015


Summary of changes:
 services/api/config/initializers/time_format.rb | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 services/api/config/initializers/time_format.rb

       via  40e9d6a079634dcd4447e12f57b6262aa1e1f15e (commit)
      from  6cd9106d48845dbb7ff1ab22ae1d48a742e0d108 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 40e9d6a079634dcd4447e12f57b6262aa1e1f15e
Author: Radhika Chippada <radhika at curoverse.com>
Date:   Mon Feb 16 17:24:28 2015 -0500

    4759: added time_format.rb initializer

diff --git a/services/api/config/initializers/time_format.rb b/services/api/config/initializers/time_format.rb
new file mode 100644
index 0000000..ca67b19
--- /dev/null
+++ b/services/api/config/initializers/time_format.rb
@@ -0,0 +1,5 @@
+class ActiveSupport::TimeWithZone
+  def as_json
+    strftime "%Y-%m-%dT%H:%M:%S.%NZ"
+  end
+end

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list