Skip to content

Commit

Permalink
revert date for pharo 11 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
HLAD Nicolas committed Nov 4, 2024
1 parent 6c0a6dc commit ebaebab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/GitLabHealth-Model-Analysis/GitMetricExporter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ GitMetricExporter >> generateUsersAnalysesDuringPeriod: period over: aDateWeekMo
^ self userEntities collect: [ :user |
userAnalysisReport := UserAnalysisReport new
username: user name;
email: (user email ifNil: #public_email);
email: (user email ifNil: [ user public_email]);
period: period;
over: aDateWeekMonthOrYear.

Expand Down
2 changes: 1 addition & 1 deletion src/GitLabHealth-Model-Analysis/Metric.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Metric >> setupGroupedDate [
over := #day ].


[ groupedByDate keys last asDate asDateAndTime < end ] whileTrue: [
[ groupedByDate keys last asDateAndTime < end ] whileTrue: [
| index |
index := groupedByDate keys last asDateAndTime
+ (increment perform: overSymbol).
Expand Down

0 comments on commit ebaebab

Please sign in to comment.