lib/grape/app/initializers/pre.rb in grape-app-0.3.16 vs lib/grape/app/initializers/pre.rb in grape-app-0.3.17
- old
+ new
@@ -1,6 +1,6 @@
# Set default time-zone
-Time.zone = 'UTC'
+Time.zone_default = Time.find_zone!('UTC')
# Configure big-decimal encoding
ActiveSupport.encode_big_decimal_as_string = false
# Add default I18n paths and set default locale