about summary refs log tree commit diff
path: root/absl/time/civil_time.h
diff options
context:
space:
mode:
Diffstat (limited to 'absl/time/civil_time.h')
-rw-r--r--absl/time/civil_time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/time/civil_time.h b/absl/time/civil_time.h
index c8166d07c94e..77c3be2eba6b 100644
--- a/absl/time/civil_time.h
+++ b/absl/time/civil_time.h
@@ -519,7 +519,7 @@ namespace time_internal {  // For functions found via ADL on civil-time tags.
 //
 // Example:
 //
-//   absl::CivilDay d = absl::CivilDay("1969-07-20");
+//   absl::CivilDay d = absl::CivilDay(1969, 7, 20);
 //   std::cout << "Date is: " << d << "\n";
 //
 std::ostream& operator<<(std::ostream& os, CivilYear y);