Skip to content
View AllanPooley's full-sized avatar
💃
💃

Block or report AllanPooley

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Time based user greetings (Good Morn... Time based user greetings (Good Morning, Afternoon, Evening) using moment.js
    1
    getGreetingTime = (currentTime) => {
    2
      if (!currentTime || !currentTime.isValid()) { return 'Hello'; }
    3
    
                  
    4
      const splitAfternoon = 12; // 24hr time to split the afternoon
    5
      const splitEvening = 17; // 24hr time to split the evening