💃
It's bio-digital jazz, man
- Melbourne, Australia
-
09:58
(UTC +11:00) - https://allanpooley.com/
- allanpooley.dev
Pinned Loading
-
Time based user greetings (Good Morn...
Time based user greetings (Good Morning, Afternoon, Evening) using moment.js 1getGreetingTime = (currentTime) => {
2if (!currentTime || !currentTime.isValid()) { return 'Hello'; }
34const splitAfternoon = 12; // 24hr time to split the afternoon
5const splitEvening = 17; // 24hr time to split the evening
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.