1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

all: replace "NB:" with "Note:" (docs/comments)

This commit is contained in:
Alexander Medvednikov
2022-03-06 20:01:22 +03:00
parent f74b65b63f
commit 36ec47cd20
131 changed files with 209 additions and 209 deletions

View File

@@ -205,7 +205,7 @@ fn to_burntsushi(value ast.Value) string {
// Normalization for json
json_text := json2.Any(value.text).json_str().to_upper().replace(' ', 'T')
// NB: Since encoding strings in JSON now automatically includes quotes,
// Note: Since encoding strings in JSON now automatically includes quotes,
// I added a somewhat a workaround by adding an ending quote in order to
// recognize properly the date time type. - Ned
typ := if json_text.ends_with('Z"') || json_text.all_after('T').contains('-')

View File

@@ -321,7 +321,7 @@ fn to_iarna(value ast.Value, skip_value_map bool) string {
}
ast.Time {
mut json_text := json2.Any(value.text).json_str()
// NB: Removes the quotes of the encoded JSON string - Ned
// Note: Removes the quotes of the encoded JSON string - Ned
json_text = to_iarna_time(json_text[1..json_text.len - 1])
if skip_value_map {
return json_text