From d87d7d8b6cab05fc5e5f4d350e9431d2ef01da22 Mon Sep 17 00:00:00 2001 From: Kian-Meng Ang Date: Fri, 28 Jan 2022 08:17:41 +0800 Subject: [PATCH] Fix typos --- CHANGELOG.markdown | 2 +- README.markdown | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.markdown b/CHANGELOG.markdown index 18f9a5f..f065053 100644 --- a/CHANGELOG.markdown +++ b/CHANGELOG.markdown @@ -22,7 +22,7 @@ just the opposite of `beginning_X`) * Add `between/[2,3,5]` functions for computing whether a date/time is between two others. -* Update to rebar3 and add hex compatability. (@Licenser) +* Update to rebar3 and add hex compatibility. (@Licenser) * Properly add dependent apps to .app.src (@Licenser) * Add an optional "relative date/time parser". * Fix: Ensure `get_timezone()` returns the default timezone (from config) if it diff --git a/README.markdown b/README.markdown index d12f64d..f2c04ae 100644 --- a/README.markdown +++ b/README.markdown @@ -107,7 +107,7 @@ will infer the timezone in the following order. #### Disambiguating Ambiguous Timezone Conversions -Sometimes, when youre converting a datetime from one timezone to another, there +Sometimes, when you're converting a datetime from one timezone to another, there are potentially two different results if the conversion happens to land on in a timezone that's in the middle of a Daylight Saving conversion. For example, converting "11-Nov-2013 1:00:am" in "America/New York" to "GMT" could be both @@ -536,7 +536,7 @@ qdate:between(qdate:add_minutes(-15), Date, qdate:add_minutes(15)). %% But, you don't have to: if that's a common format you use in your %% application, you can register your format with the `qdate` server, and then -%% easiy refer to that format by its key. +%% easily refer to that format by its key. %% So let's take that format and register it 16> qdate:register_format(longdate, "l, F jS, Y g:i A T"). @@ -720,7 +720,7 @@ the week" calculation. This has three forms, specifically: 7=Sunday). + `beginning_week(DayOfWeek, Date)` - Calculates the beginning of the week based on the provided `DayOfWeek`. Valid values for DayOfWeek are the - integers 1-7 or the atom verions of the days of the week. Specifically: + integers 1-7 or the atom versions of the days of the week. Specifically: * Monday: `1 | monday | mon` * Tuesday: `2 | tuesday | tue`