Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • C civirules
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 45
    • Issues 45
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Extensions
  • civirules
  • Merge requests
  • !186

Always use ymd format for dates in field value comparisons

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged larsssandergreen requested to merge larssg/civirules:always-use-ymd-format into master Sep 29, 2022
  • Overview 1
  • Commits 3
  • Pipelines 0
  • Changes 3

Before:

Inconsistent date formats used in different fields for field value comparison, so some comparisons didn't work. Also, some fields had times, some didn't.

After:

All date fields are normalized to Ymd, allowing comparisons to work. Ymd also allows comparisons to be made only on dates, as the field names suggest, rather than datetimes (e.g. we can compare a date to today to see if it is today).

Documentation added.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: always-use-ymd-format