]> git.arvados.org - arvados.git/blob - apps/workbench/config/initializers/time_format.rb
18874: Merge commit '6f8dcb2b13f3058db656908fb26b09e23b527f08' into 18874-merge-wb2
[arvados.git] / apps / workbench / config / initializers / time_format.rb
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 class ActiveSupport::TimeWithZone
6   def as_json *args
7     strftime "%Y-%m-%dT%H:%M:%S.%NZ"
8   end
9 end