Help prlm this Time

2020-03-18 Thread JPLRouge
hello : help work sql type Date* = ref object of RootObj Data* : DateTime Null* : bool Temps* = ref object of RootObj Data* : DateTime Null* : bool proc sql*(a: Date): string = if a.Data.format("-MM-dd") =

Re: Help prlm this Time

2020-03-18 Thread treeform
I think the problem is that the strformat's fmt macro is not good enough to realize that date format is not part of it's format. So it gets confused. That is why you get the error: : could not parse `a.Data.format("HH`. Run I recommend doing what you already done: