Some updates for better portability.
 -Erik
diff --git a/coreutils/date.c b/coreutils/date.c
index dd054be..67d61a5 100644
--- a/coreutils/date.c
+++ b/coreutils/date.c
@@ -181,7 +181,7 @@
 					set_time = 1;
 					if (date_str != NULL)
 						usage(date_usage);
-					date_str = optarg;
+					date_str = *argv;
 					break;
 				case 'u':
 					utc = 1;
@@ -192,7 +192,7 @@
 					use_arg = 1;
 					if (date_str != NULL)
 						usage(date_usage);
-					date_str = optarg;
+					date_str = *argv;
 					break;
 				case '-':
 					usage(date_usage);