GetLocation returns the session timezone.
()
| 3083 | |
| 3084 | // GetLocation returns the session timezone. |
| 3085 | func (ctx *EvalContext) GetLocation() *time.Location { |
| 3086 | if ctx.SessionData == nil || ctx.SessionData.DataConversion.Location == nil { |
| 3087 | return time.UTC |
| 3088 | } |
| 3089 | return ctx.SessionData.DataConversion.Location |
| 3090 | } |
| 3091 | |
| 3092 | // Ctx returns the session's context. |
| 3093 | func (ctx *EvalContext) Ctx() context.Context { |
no outgoing calls
no test coverage detected