Why import date/boundaries fail,invalid import path boundaries

My influxdb is 2.3

import "date/boundaries"
error @2:1-2:20: invalid import path boundaries

Who knows what the problem is

Hi @Marek-maxs,

I am using v2.3 and just tested this with the following results:

import "date" - works, no error

import "date/boundaries" gives error @1:1-1:25: invalid import path date/boundaries
Note that this is a little different that what you got.

and finally
import "boundaries" gives error @1:1-1:20: invalid import path boundaries
The same as what you got.

I have not used this package before, but perhaps import "date" has the functionality that you are looking for.

Thank you for your reply

import "date"

I have no problem importing date. I want to use a boundaries function. I have tried this method in date, but it should not be used

InfluxDB 2.3 shipped with Flux 0.171.0. The date/boundaries package was introduced in Flux 0.172.0. Answered here

InfluxDB 2.3 shipped with Flux 0.171.0. The date/boundaries package was introduced in Flux 0.172.0. Answered here

thank you very much