How to: Filterable list of any years BC to AD?

Support General How to: Filterable list of any years BC to AD?Resolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #32375
    AnDAnD
    Participant

    How can I create a filtreable years list that includes any year BC/BCE and AD/CE?

    • Negative numbers are not possible and do not seem right anyway.
    • Would I use text? Is that correctly filterable?
    • Datepicker seems wrong, and too cumbersome for years. Anyway, most dates BCE do not have days or even months.

    EXAMPLE
    Show all events between 235 BC and 464 AD.

    DEFINITION
    BC is any year until 10.000 BC. Although that far back, the dates are not given in exact years, but more in decades, centuries, or even more likely, in millenia.

    #32405
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Our supported fields date or datetime use the jQuery library datepicker to show the date and select, so it might not work with the years between BC and AD. You can follow this article to do that with the custom JavaScript code https://stackoverflow.com/questions/20508432/cannot-select-years-bc

    #32410
    AnDAnD
    Participant

    Great link!

    Thank you very much.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.