Adjust time order

This commit is contained in:
Aoran Zeng 2025-08-11 05:08:45 +08:00
parent f099a86e53
commit 066a377947
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98

View File

@ -406,6 +406,12 @@ cli_print_target_maintain_info (Target_t *target, const char *input_target_name)
printf ("\n");
}
if (target->created_on)
{
char *msg = ENGLISH ? "Recipe Created On: " : "食谱创建时间: ";
printf ("%s%s\n", bdblue(msg), target->created_on);
}
{
char *msg = ENGLISH ? "Current Chef: " : "当前主厨: ";
@ -465,11 +471,10 @@ cli_print_target_maintain_info (Target_t *target, const char *input_target_name)
}
}
if (target->created_on)
if (target->sources_last_updated)
{
char *msg = ENGLISH ? "Recipe Created On: " : "食谱创建时间: ";
printf ("%s%s\n", bdblue(msg), target->created_on);
char *msg = ENGLISH ? "Ingredient(Sources) Last Updated: " : "食源检查时间: ";
printf ("%s%s\n", bdblue(msg), target->sources_last_updated);
}
if (target->last_updated)
@ -477,12 +482,6 @@ cli_print_target_maintain_info (Target_t *target, const char *input_target_name)
char *msg = ENGLISH ? "Recipe Last Updated: " : "食谱更新时间: ";
printf ("%s%s\n", bdblue(msg), target->last_updated);
}
if (target->sources_last_updated)
{
char *msg = ENGLISH ? "Ingredient(Sources) Last Updated: " : "食材(源)检查时间: ";
printf ("%s%s\n", bdblue(msg), target->sources_last_updated);
}
}