feat: improve update button visibility (#3115)

* feat: give update button primary focus when applicable

resolves #3024

* added update tooltip

* cleanup

* prettier

* PR feedback
This commit is contained in:
Kira Pilot
2022-07-22 14:28:52 -04:00
committed by GitHub
parent 2dd98c7ec8
commit 471564df7d
16 changed files with 131 additions and 79 deletions
+9
View File
@@ -0,0 +1,9 @@
import dayjs from "dayjs"
/**
* Returns a human-readable string describing the passing of time
* Broken into its own module for testing purposes
*/
export function createDayString(time: string): string {
return dayjs().to(dayjs(time))
}