Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • whats-open-android whats-open-android
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 19
    • Issues 19
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • SRCT
  • whats-open-androidwhats-open-android
  • Issues
  • #17

Closed
Open
Created Feb 08, 2017 by Robert Hitt@rhittOwner

Notify user if Special Schedule ends

Summary

Currently, if someone sets Notifications during a Facility's special schedule, the notifications eventually become inaccurate. Ideally, at the end of the Special Schedule's duration, a notification should pop up saying something like "$Facility_name's schedule just changed! You may need to reset your notifications."

Helpful Links

  • https://git.gmu.edu/srct/whats-open-android/blob/master/app/src/main/java/srct/whatsopen/presenters/NotificationPresenter.java#L138 probably where this stuff should be
  • To get the time delta for scheduling it, you're gonna want to get the valid_end date for the SpecialSchedule, use a Calendar method to convert it to ms from epoch, then subtract the current time (in ms from epoch) from it.
Assignee
Assign to
Time tracking