Skip to content

[* DateTimeV2] - how to use timex/otherways to determine type of dates it found (if quarter or not) #2498

@zoinkydoink

Description

@zoinkydoink

If i pass the string "This quarter", I get the proper dates and comes with timex (2021-01-01,2021-04-01,P3M)
which is great how can i identify this was actually for a quarter? do I have to check the start and end date that it retrieved or is there a better way?

If i pass the string "First quarter of the year", then I get 2 sets of dates one for q1 in 2020 and one for q1 in 2020 but the timex are diff then above (XXXX-01-01,XXXX-04-01,P3M) is for 2020 set of dates and (XXXX-01-01,XXXX-04-01,P3M) for 2021 set of dates.

I guess my question is is there an easy way to use the timex or something else to identify what it found without having to compare dates etc. What is the purpose of timex and how/if we can use to identify findings

I also have the EnablePrevew flag on

Also shouldnt both strings return one set of date and that is for this year instead of one of them returning two that includes last year?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions