mirror of
https://github.com/gabehf/Koito.git
synced 2026-04-22 12:01:52 -07:00
Added KOITO_DATE_FORMAT option to choose how the dates are displayed
This commit is contained in:
parent
0ec7b458cc
commit
61d5f2f5f0
10 changed files with 53 additions and 9 deletions
|
|
@ -90,6 +90,12 @@ func DefaultTheme() string {
|
|||
return globalConfig.defaultTheme
|
||||
}
|
||||
|
||||
func DateFormat() string {
|
||||
lock.RLock()
|
||||
defer lock.RUnlock()
|
||||
return globalConfig.dateFormat
|
||||
}
|
||||
|
||||
func FullImageCacheEnabled() bool {
|
||||
lock.RLock()
|
||||
defer lock.RUnlock()
|
||||
|
|
@ -204,3 +210,4 @@ func ForceTZ() *time.Location {
|
|||
defer lock.RUnlock()
|
||||
return globalConfig.forceTZ
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue