func cardPriority(due fb.Due, interval fb.Interval, now time.Time) float64 {
	if due.IsZero() || interval == 0 {
		return newPriority
	}
	// Remove the timezone
	_, offset := now.Zone()
	utc := now.UTC().Add(time.Duration(offset) * time.Second)

	return float64(math.Pow(1+float64(utc.Sub(time.Time(due)))/float64(time.Duration(interval)), 3))
}
// cardPriority returns a number 0 or greater, as a priority to be used in
// determining card study order.
cardPriority returns a number 0 or greater, as a priority to be used in
determining card study order.
// cardPriority returns a number 0 or greater as a priority to be used in // determining card study order .
func cardPriority(due fb.Due, interval fb.Interval, now time.Time) float64 {
	if due.IsZero() || interval == 0 {
		return newPriority
	}
	_, offset := now.Zone()
	utc := now.UTC().Add(time.Duration(offset) * time.Second)
	return float64(math.Pow(1+float64(utc.Sub(time.Time(due)))/float64(time.Duration(interval)), 3))
}
func cardPriority ( due fb . Due , interval fb . Interval , now time . Time ) float64 { if due . IsZero ( ) || interval == 0 { return newPriority } _ , offset := now . Zone ( ) utc := now . UTC ( ) . Add ( time . Duration ( offset ) * time . Second ) return float64 ( math . Pow ( 1 + float64 ( utc . Sub ( time . Time ( due ) ) ) / float64 ( time . Duration ( interval ) ) , 3 ) ) }
cardPriority returns a number 0 or greater, as a priority to be used in
determining card study order.
cardPriority returns a number 0 or greater as a priority to be used in determining card study order .
// Remove the timezone