* contrib/libct/datetime.prg

! Fix, change NTOS() for STR() in EOQ() function.
This commit is contained in:
Walter Negro
2002-05-24 19:08:22 +00:00
parent 5ae19d34f7
commit 8a760b30c0

View File

@@ -207,7 +207,7 @@ Function EOQ( date)
if (empty(date))
return (date)
endif
yyyy := NtoS( Year( date))
yyyy := Str( Year( date), 4, 0)
If ( m := Month( date)) <= 3
eoq := StoD( yyyy + '0331')
ElseIf m <= 6