File tree 2 files changed +10
-10
lines changed
2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -753,9 +753,9 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
753
753
754
754
< p > <!-- CL 311572 -->
755
755
The new
756
- < a href ="/pkg/database/sql/#NullInt16 "> < code > NullInt16</ code > </ a >
757
- and
758
- < a href ="/pkg/database/sql/#NullByte "> < code > NullByte</ code > </ a >
756
+ < a href ="/pkg/database/sql/#NullInt16 "> < code > NullInt16</ code > </ a >
757
+ and
758
+ < a href ="/pkg/database/sql/#NullByte "> < code > NullByte</ code > </ a >
759
759
structs represent the int16 and byte values that may be null. These can be used as
760
760
destinations of the < a href ="/pkg/database/sql/#Scan "> < code > Scan</ code > </ a > method,
761
761
similar to NullString.
@@ -1205,11 +1205,11 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
1205
1205
1206
1206
< p > <!-- CL 300996 -->
1207
1207
The package now accepts comma "," as a separator for fractional seconds when parsing and formatting time.
1208
- The following time formats are now accepted:
1208
+ For example, the following time layouts are now accepted:
1209
1209
< ul >
1210
- < li > 2006-01-02 14:06:03 ,999999999 -0700 MST</ li >
1211
- < li > Mon Jan _2 14:06:03,120007 2006</ li >
1212
- < li > Mon Jan 2 14:06:03,120007 2006</ li >
1210
+ < li > 2006-01-02 15:04:05 ,999999999 -0700 MST</ li >
1211
+ < li > Mon Jan _2 15:04:05,000000 2006</ li >
1212
+ < li > Monday, January 2 15:04:05,000 2006</ li >
1213
1213
</ ul >
1214
1214
</ p >
1215
1215
Original file line number Diff line number Diff line change @@ -77,9 +77,9 @@ import "errors"
77
77
// The formats and 002 are space-padded and zero-padded
78
78
// three-character day of year; there is no unpadded day of year format.
79
79
//
80
- // A decimal point followed by one or more zeros represents a fractional
81
- // second, printed to the given number of decimal places.
82
- // Either a comma or decimal point followed by one or more nines represents
80
+ // A comma or decimal point followed by one or more zeros represents
81
+ // a fractional second, printed to the given number of decimal places.
82
+ // A comma or decimal point followed by one or more nines represents
83
83
// a fractional second, printed to the given number of decimal places, with
84
84
// trailing zeros removed.
85
85
// For example "15:04:05,000" or "15:04:05.000" formats or parses with
You can’t perform that action at this time.
0 commit comments