Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

date picker issue

default discord avatar
bhavikak.2 years ago
2

if i'm selecting a date like 01/01/2021 it's store 31/12/2020 so on a select date it's store previous date in database

  • default discord avatar
    tinouti2 years ago

    The field uses your local time zone for picking/displaying in the admin, and then stores the value in UTC. Do you by any chance live in a UTC+05:30 timezone (India or Sri Lanka)?

  • default discord avatar
    bhavikak.2 years ago

    thanks

    @233209174069084161

    i'll try to convert UTC to GMT timezone. i think it's work.



    and finally it's work for me again thanks

    @233209174069084161

    🙌

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.