Home
last modified time | relevance | path

Searched refs:setdate (Results 1 – 2 of 2) sorted by relevance

/third_party/toybox/porting/liteos_a/toys/posix/
Ddate.c115 char *setdate = *toys.optargs, *format_string = "%a %b %e %H:%M:%S %Z %Y", in date_main() local
146 if (!setdate); in date_main()
148 else if (*setdate == '+') { in date_main()
150 setdate = toys.optargs[1]; in date_main()
153 } else if (setdate) { in date_main()
156 parse_date(setdate, &t); in date_main()
/third_party/toybox/toys/posix/
Ddate.c118 char *setdate = *toys.optargs, *format_string = "%a %b %e %H:%M:%S %Z %Y", in date_main() local
149 if (!setdate); in date_main()
151 else if (*setdate == '+') { in date_main()
153 setdate = toys.optargs[1]; in date_main()
156 } else if (setdate) { in date_main()
159 parse_date(setdate, &t); in date_main()