Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add timezone_to_second/1 function to rule engine #10858

Commits on May 29, 2023

  1. feat: add timezone_to_second/1 function to rule engine

    This commit adds the functions timezone_to_offset_seconds and its alias
    timezone_to_second to the rule engine. As the names suggests, these
    functions convert a timzone offset string such as "+02:00", "Z", "local"
    to an integer representing how many seconds that the given timezone
    differs from UTC. timezone_to_offset_seconds is the one of the two
    functions that should be advertised while timezone_to_second in kept for
    backwards compatibility with 4.X.
    
    Fixes:
    https://emqx.atlassian.net/browse/EMQX-10058
    kjellwinblad committed May 29, 2023
    Configuration menu
    Copy the full SHA
    995025b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b87e0a2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    354603d View commit details
    Browse the repository at this point in the history