DefaultUTCTimeZone ensures that time-based operations use the UTC timezone rather than the input time's local timezone.
(enabled bool)
| 971 | // DefaultUTCTimeZone ensures that time-based operations use the UTC timezone rather than the |
| 972 | // input time's local timezone. |
| 973 | func DefaultUTCTimeZone(enabled bool) EnvOption { |
| 974 | return features(featureDefaultUTCTimeZone, enabled) |
| 975 | } |
| 976 | |
| 977 | // features sets the given feature flags. See list of Feature constants above. |
| 978 | func features(flag int, enabled bool) EnvOption { |