mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-04 04:44:08 +01:00 
			
		
		
		
	Merge branch 'develop' into 6638-sequence-diagram-additional-messages
This commit is contained in:
		@@ -268,7 +268,9 @@ const fixTaskDates = function (startTime, endTime, dateFormat, excludes, include
 | 
			
		||||
 | 
			
		||||
const getStartDate = function (prevTime, dateFormat, str) {
 | 
			
		||||
  str = str.trim();
 | 
			
		||||
 | 
			
		||||
  if ((dateFormat.trim() === 'x' || dateFormat.trim() === 'X') && /^\d+$/.test(str)) {
 | 
			
		||||
    return new Date(Number(str));
 | 
			
		||||
  }
 | 
			
		||||
  // Test for after
 | 
			
		||||
  const afterRePattern = /^after\s+(?<ids>[\d\w- ]+)/;
 | 
			
		||||
  const afterStatement = afterRePattern.exec(str);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user