projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f2d5f9
)
4759: Ignore args to as_json.
author
Tom Clegg <tom@curoverse.com>
Tue, 17 Feb 2015 03:35:20 +0000
(22:35 -0500)
committer
Tom Clegg <tom@curoverse.com>
Tue, 17 Feb 2015 03:35:20 +0000
(22:35 -0500)
services/api/config/initializers/time_format.rb
patch
|
blob
|
history
diff --git
a/services/api/config/initializers/time_format.rb
b/services/api/config/initializers/time_format.rb
index ca67b19ce2519c14113437a3ddac67464033541e..d476781e55ca8638186d2cbe5ed2cc50e5fdd8cc 100644
(file)
--- a/
services/api/config/initializers/time_format.rb
+++ b/
services/api/config/initializers/time_format.rb
@@
-1,5
+1,5
@@
class ActiveSupport::TimeWithZone
- def as_json
+ def as_json
*args
strftime "%Y-%m-%dT%H:%M:%S.%NZ"
end
end