[U] Use getTerm

This commit is contained in:
Hykilpikonna
2019-12-07 13:47:56 -05:00
parent 3e37ab15fc
commit ec4f66f4f3
+1 -1
View File
@@ -67,7 +67,7 @@ export default class Constants
new Date('Mar 22 2020'),
new Date('Jun 05 2020'),
];
public static CURRENT_TERM = findLastIndex(Constants.TERMS, d => d < new Date());
static CURRENT_TERM = Constants.getTerm(new Date());
/**
* Find out the specified date is in which term