Skip to content

local_dt no longer working in latest release #1246

Open

Description

@christian-screen

Previous releases the concept of {{local_dt}} would be enough to provide the local date.

This returns empty now.

Now, one must use {{today()}} or use a combination of {{local_dt|unixtimestamp}}

Is this a known issue? Not backwards compatible? Or, are we missing something?

Activity

  1. jasmith-hs commented on Jun 7, 2025

    @jasmith-hs
    Contributor

    @christian-screen , what version of jinjava did that work in? As far as I know, that's never been functionality built into jinjava.
    I would expect it to always return empty, same as if I ran the expression {{ foo_bar_bar_foo}}

  2. christian-screen commented on Jun 7, 2025

    @christian-screen
    Author

    @christian-screen , what version of jinjava did that work in? As far as I know, that's never been functionality built into jinjava. I would expect it to always return empty, same as if I ran the expression {{ foo_bar_bar_foo}}

    In version 2.7.0 this was working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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