Browse Source

ref(crons): Use less verbose human readable cron text (#50339)

Before

<img alt="clipboard.png" width="545"
src="https://i.imgur.com/DrM9Zej.png" />

After

<img alt="clipboard.png" width="580"
src="https://i.imgur.com/HhmfO9U.png" />
Evan Purkhiser 1 year ago
parent
commit
934b1a8a21
1 changed files with 1 additions and 1 deletions
  1. 1 1
      static/app/views/monitors/utils.tsx

+ 1 - 1
static/app/views/monitors/utils.tsx

@@ -11,7 +11,7 @@ export function crontabAsText(crontabInput: string | null): string | null {
   let parsedSchedule: string;
   try {
     parsedSchedule = cronstrue.toString(crontabInput, {
-      verbose: true,
+      verbose: false,
       use24HourTimeFormat: shouldUse24Hours(),
     });
   } catch (_e) {