Commits

Eric Roshan Eisner  committed f52279e Draft

add year and day

  • Participants
  • Parent commits fb92295

Comments (0)

Files changed (2)

 		"lbf": Value{4.448222, Newton},
 		"hp":  Value{745.7, Watt},
 
+		"y":   Value{3600 * 24 * 365.2425, Second},
+		"d":   Value{3600 * 24, Second},
 		"h":   Value{3600, Second},
 		"min": Value{60, Second},
 

File parse_test.go

 	{"Fonzis", "0", false},
 	{"xxxxx", "0", false},
 	{"min", "1min", true},
+	{"y", "1y", true},
 	{"uin", "25.4nm", true},
 	{"kg", "1kg", true},
 	{"ml", "1mL", true},