stripTimeZone removes the time zone from this TimestampTZ. For example, a TimestampTZ '2012-01-01 12:00:00 +02:00' would become '2012-01-01 12:00:00'.
(ctx *EvalContext)
| 2484 | // TimestampTZ '2012-01-01 12:00:00 +02:00' would become |
| 2485 | // '2012-01-01 12:00:00'. |
| 2486 | func (d *DTimestampTZ) stripTimeZone(ctx *EvalContext) *DTimestamp { |
| 2487 | return d.EvalAtTimeZone(ctx, ctx.GetLocation()) |
| 2488 | } |
| 2489 | |
| 2490 | // EvalAtTimeZone evaluates this TimestampTZ as if it were in the supplied |
| 2491 | // location, returning a timestamp without a timezone. |
no test coverage detected