opencode-codetime 0.6.6 → 0.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -341,9 +341,9 @@ export const plugin = async (ctx) => {
|
|
|
341
341
|
: projectName;
|
|
342
342
|
if (totalMins !== null) {
|
|
343
343
|
const totalFormatted = formatMinutes(totalMins);
|
|
344
|
-
return `Today's coding time for ${displayName}
|
|
344
|
+
return `Today's coding time for ${displayName}:\n\`\`\`\n ${projectFormatted} (Total across all projects: ${totalFormatted})\n\`\`\``;
|
|
345
345
|
}
|
|
346
|
-
return `Today's coding time for ${displayName}
|
|
346
|
+
return `Today's coding time for ${displayName}:\n\`\`\`\n ${projectFormatted}\n\`\`\``;
|
|
347
347
|
}
|
|
348
348
|
// Default: total coding time (original behavior)
|
|
349
349
|
const minutes = await getTodayMinutes(_token);
|