Skip to content

Commit 0517f53

Browse files
authored
chore(BigQuery): Clarifying supported date/time format in examples (#8545)
1 parent c2dab4f commit 0517f53

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

BigQuery/src/LoadJobConfiguration.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ public function copyFilesOnly(bool $copyFilesOnly): self
755755
*
756756
* Example:
757757
* ```
758-
* $loadJobConfig->dateFormat('%Y-%m-%d');
758+
* $loadJobConfig->dateFormat('YYYY-MM-DD');
759759
* ```
760760
*
761761
* @param string $dateFormat The date format string.
@@ -773,7 +773,7 @@ public function dateFormat(string $dateFormat): self
773773
*
774774
* Example:
775775
* ```
776-
* $loadJobConfig->datetimeFormat('%Y-%m-%d %H:%M:%S');
776+
* $loadJobConfig->datetimeFormat('YYYY-MM-DD HH24:MI:SS');
777777
* ```
778778
*
779779
* @param string $datetimeFormat The datetime format string.
@@ -993,7 +993,7 @@ public function sourceColumnMatch(string $sourceColumnMatch): self
993993
*
994994
* Example:
995995
* ```
996-
* $loadJobConfig->timeFormat('%H:%M:%S');
996+
* $loadJobConfig->timeFormat('HH24:MI:SS');
997997
* ```
998998
*
999999
* @param string $timeFormat The time format string.
@@ -1030,7 +1030,7 @@ public function timeZone(string $timeZone): self
10301030
*
10311031
* Example:
10321032
* ```
1033-
* $loadJobConfig->timestampFormat('%Y-%m-%d %H:%M:%S%F');
1033+
* $loadJobConfig->timestampFormat('YYYY-MM-DD HH24:MI:SS.FF3 TZH');
10341034
* ```
10351035
*
10361036
* @param string $timestampFormat The timestamp format string.

0 commit comments

Comments
 (0)