Skip to content

Commit 066a377

Browse files
committed
Adjust time order
1 parent f099a86 commit 066a377

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

src/chsrc-main.c

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,12 @@ cli_print_target_maintain_info (Target_t *target, const char *input_target_name)
406406
printf ("\n");
407407
}
408408

409+
if (target->created_on)
410+
{
411+
char *msg = ENGLISH ? "Recipe Created On: " : "食谱创建时间: ";
412+
printf ("%s%s\n", bdblue(msg), target->created_on);
413+
}
414+
409415

410416
{
411417
char *msg = ENGLISH ? "Current Chef: " : "当前主厨: ";
@@ -465,24 +471,17 @@ cli_print_target_maintain_info (Target_t *target, const char *input_target_name)
465471
}
466472
}
467473

468-
469-
if (target->created_on)
474+
if (target->sources_last_updated)
470475
{
471-
char *msg = ENGLISH ? "Recipe Created On: " : "食谱创建时间: ";
472-
printf ("%s%s\n", bdblue(msg), target->created_on);
476+
char *msg = ENGLISH ? "Ingredient(Sources) Last Updated: " : "食源检查时间: ";
477+
printf ("%s%s\n", bdblue(msg), target->sources_last_updated);
473478
}
474479

475480
if (target->last_updated)
476481
{
477482
char *msg = ENGLISH ? "Recipe Last Updated: " : "食谱更新时间: ";
478483
printf ("%s%s\n", bdblue(msg), target->last_updated);
479484
}
480-
481-
if (target->sources_last_updated)
482-
{
483-
char *msg = ENGLISH ? "Ingredient(Sources) Last Updated: " : "食材(源)检查时间: ";
484-
printf ("%s%s\n", bdblue(msg), target->sources_last_updated);
485-
}
486485
}
487486

488487

0 commit comments

Comments
 (0)