Skip to content

Commit 2c8e5eb

Browse files
authored
Update 2refresh.py to display only date instead of time
This change will make the tstamp column contain only the date in YYYY-MM-DD format (e.g., 2025-07-28) instead of the full timestamp with time and timezone information, which is not super usefull
1 parent 559b6b0 commit 2c8e5eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2refresh.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def get_dynamic_metadata(self, repo) -> Optional[Dict]:
112112
'open_issues': repo.open_issues_count,
113113
'contributors_count': contributors_count,
114114
'discussions': discussions_enabled,
115-
'tstamp': datetime.utcnow().isoformat() + '+00:00' # Timestamp of when this data was collected
115+
'tstamp': datetime.utcnow().strftime('%Y-%m-%d') # Timestamp of when this data was collected
116116
}
117117

118118
return metadata

0 commit comments

Comments
 (0)