]> git.arvados.org - arvados.git/blob - apps/workbench/config/initializers/time_format.rb
Merge branch 'main' from workbench2.git
[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