Use constants in example.
This commit is contained in:
1 parent
ca7d86084e
commit
00c6b83537
1 file changed
+5
-5
+5
-5
@@ -525,7 +525,7 @@ Returns:
|
||||
- res: The formatted string, backed by `buf`.
|
||||
|
||||
Example:
|
||||
buf: [8]u8
|
||||
buf: [MIN_YY_DATE_LEN]u8
|
||||
now := time.now()
|
||||
fmt.println(time.to_string_yy_mm_dd(now, buf[:]))
|
||||
*/
|
||||
@@ -557,7 +557,7 @@ Returns:
|
||||
- res: The formatted string, backed by `buf`.
|
||||
|
||||
Example:
|
||||
buf: [10]u8
|
||||
buf: [MIN_YYYY_DATE_LEN]u8
|
||||
now := time.now()
|
||||
fmt.println(time.to_string_dd_mm_yyyy(now, buf[:]))
|
||||
*/
|
||||
@@ -591,7 +591,7 @@ Returns:
|
||||
- res: The formatted string, backed by `buf`.
|
||||
|
||||
Example:
|
||||
buf: [8]u8
|
||||
buf: [MIN_YY_DATE_LEN]u8
|
||||
now := time.now()
|
||||
fmt.println(time.to_string_dd_mm_yy(now, buf[:]))
|
||||
*/
|
||||
@@ -623,7 +623,7 @@ Returns:
|
||||
- res: The formatted string, backed by `buf`.
|
||||
|
||||
Example:
|
||||
buf: [10]u8
|
||||
buf: [MIN_YYYY_DATE_LEN]u8
|
||||
now := time.now()
|
||||
fmt.println(time.to_string_mm_dd_yyyy(now, buf[:]))
|
||||
*/
|
||||
@@ -657,7 +657,7 @@ Returns:
|
||||
- res: The formatted string, backed by `buf`.
|
||||
|
||||
Example:
|
||||
buf: [8]u8
|
||||
buf: [MIN_YY_DATE_LEN]u8
|
||||
now := time.now()
|
||||
fmt.println(time.to_string_mm_dd_yy(now, buf[:]))
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user