dwyl / dwyl/app

Synchronise server with NTP to ensure we have the correct time

Open
#32 1 comment 0 reactions 0 assignees View on GitHub
enhancement help wanted investigate priority-4 technical
Dominant language
Dart
Stars
152
Forks
22
PR merge metrics
No merged PRs in 30d

Description

Reliability of our time is _crucial_.
We will allow clients to send us the **st** (start time) they want the timer to start (from their device)
this allows them to set the time they _think_ the task/activity started (i.e. retrospectively set a start-time...)
But we will also store a **ct** (created time) which _cannot_ be changed and provides an _audit_ for the person to know when they _actually_ started the timer.

To this end, I propose using the https://github.com/hueniverse/sntp module to get "_real_" time from a Network Time Protocol ([NTP](http://www.pool.ntp.org/en/)) server.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.