Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
adapt gitlab note parse regex to gitlab 18.x
  • Loading branch information
ndu2 committed Aug 1, 2025
commit e377e67d09a25cc4c152e10f96e47cff00bb6a99
6 changes: 3 additions & 3 deletions src/models/hasTimes.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import Base from './base.js';
import Time from './time.js';
import DayReport from './dayReport.js';

const regex = /added (.*) of time spent(?: at (.*))?/i;
const subRegex = /subtracted (.*) of time spent(?: at (.*))?/i;
const delRegex = /deleted (.*) of spent time(?: from (.*))?/i;
const regex = /added (.*) of time spent(?: at ([0-9-]*))?/i;
const subRegex = /subtracted (.*) of time spent(?: at ([0-9-]*))?/i;
const delRegex = /deleted (.*) of spent time(?: from ([0-9-]*))?/i;
const removeRegex = /Removed time spent/i;

/**
Expand Down