Fixed pubdate
This commit is contained in:
parent
2eb1c314cf
commit
a18c15e172
1 changed files with 4 additions and 3 deletions
|
@ -136,7 +136,7 @@ class CurrencyConverter : ThreadedModule() {
|
|||
// Currency codes
|
||||
private val CODES: MutableMap<String, String> = mutableMapOf()
|
||||
|
||||
// Last exchange rates table publication date
|
||||
// Last currency table retrieval date
|
||||
private var pubDate = ""
|
||||
|
||||
/**
|
||||
|
@ -189,6 +189,7 @@ class CurrencyConverter : ThreadedModule() {
|
|||
for (key in symbols.keys()) {
|
||||
CODES[key] = symbols.getJSONObject(key).getString("description")
|
||||
}
|
||||
pubDate = today()
|
||||
}
|
||||
} catch (e: IOException) {
|
||||
throw ModuleException(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue