Skip to content

Commit 06258aa

Browse files
Merge pull request #1249 from camelid/triage-date-fmt
Use shorter date format for updated at
2 parents d3583a8 + 7b4e7e0 commit 06258aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/triage.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ pub async fn pulls(
5656
let assignee = base_pull.assignee.map_or("".to_string(), |v| v.login);
5757
let updated_at = base_pull
5858
.updated_at
59-
.map_or("".to_string(), |v| v.to_rfc2822());
59+
.map_or("".to_string(), |v| v.format("%Y-%m-%d").to_string());
6060

6161
let yellow_line = Utc::now() - Duration::days(YELLOW_DAYS);
6262
let red_line = Utc::now() - Duration::days(RED_DAYS);

0 commit comments

Comments
 (0)