Date field connection shows 1970 when no date is set

Support MB Beaver Builder Integration Date field connection shows 1970 when no date is setResolved

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #36436
    GregGreg
    Participant

    When the field is blank in the post settings, the output should also be blank. Currently, if no date is set in the post, January 1 1970 is used on the front end.

    #36437
    GregGreg
    Participant

    It seems to force the display of the date if a format is set in the field connection or shortcode. If no custom format is set, then the output is blank, as it should be.

    #36459
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Please try to use the helper shortcode [rwmb_meta]. I do not see that issue on my end.
    https://docs.metabox.io/shortcode/

    #36464
    GregGreg
    Participant

    Using the shortcode outputs Jan 1 1970 if you set a format for the date and the date field is empty.

    #36500
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Can you please share a screen record of this issue? Did you try to add the shortcode in the post content (without any page builder)?

    #36505
    GregGreg
    Participant
    #36511
    Long NguyenLong Nguyen
    Moderator

    Hi,

    It looks like the standard feature of Beaver to return a standard date (Unix epoch) when there is empty data. If you use the helper shortcode [rwmb_meta id="event_date"] without the builder, it does not show the standard date like that.

    #36512
    GregGreg
    Participant

    Well, Beaver Builder doesn't know it's a date or do any formatting. That's totally on Meta Box. So you probably want to fix your integration to work correctly.

    #36523
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Thanks for your suggestion.

    I will inform the development team to check the integration and fix it in the next update.

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