From dedb15735a0fa331df9d845753de88491677b168 Mon Sep 17 00:00:00 2001 From: Frank Hunleth Date: Sat, 25 Jul 2020 21:16:11 -0400 Subject: [PATCH] v0.4.2 release --- CHANGELOG.md | 6 ++++++ README.md | 2 +- lib/nerves_time/sane_time.ex | 2 +- mix.exs | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 84c62aa..bc97e4d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## v0.4.2 + +* New feature + * Added `NervesTime.set_system_time/1` to manually set the system clock. + Thanks to Eric Rauer for this. + ## v0.4.1 * Bug fixes diff --git a/README.md b/README.md index 60c0ac2..fe958f5 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ First add `nerves_time` to your project's dependencies: ```elixir def deps do [ - {:nerves_time, "~> 0.4.1"} + {:nerves_time, "~> 0.4.2"} ] end ``` diff --git a/lib/nerves_time/sane_time.ex b/lib/nerves_time/sane_time.ex index dd3ee1b..f3b019b 100644 --- a/lib/nerves_time/sane_time.ex +++ b/lib/nerves_time/sane_time.ex @@ -2,7 +2,7 @@ defmodule NervesTime.SaneTime do # One of the ways that nerves_time determines whether a particular time is # possible is whether it's in a known good range. - @default_earliest_time ~N[2020-05-21 00:00:00] + @default_earliest_time ~N[2020-07-25 00:00:00] @default_latest_time %{@default_earliest_time | year: @default_earliest_time.year + 20} @moduledoc false diff --git a/mix.exs b/mix.exs index ea98d3f..c0a97d6 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule NervesTime.MixProject do use Mix.Project - @version "0.4.1" + @version "0.4.2" @source_url "https://github.com/nerves-time/nerves_time" def project do