Skip to content

Commit b8c5182

Browse files
committed
Trim trailing whitespace in NEWS
1 parent 4c21e2b commit b8c5182

File tree

1 file changed

+41
-41
lines changed

1 file changed

+41
-41
lines changed

NEWS.md

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
handling of some edge cases. Additionally included in the low-level API are
2222
`calendar_spanning_seq()`, `time_point_spanning_seq()`, and
2323
`duration_spanning_seq()` (#279).
24-
24+
2525
* New `date_time_info()` and `zoned_time_info()` low-level helpers for accessing
2626
the previous/next transition times, the offset from UTC, and the current time
2727
zone abbreviation (#295).
28-
28+
2929
* `calendar_leap_year()` now supports the year-quarter-day and iso-year-week-day
3030
calendars (#332, #333).
3131

@@ -36,7 +36,7 @@
3636
allowed by the underlying C++ types. This means that if you have serialized
3737
a value of one of these types with an old version of clock, then it will no
3838
longer unserialize correctly going forward.
39-
39+
4040
Technically, rather than storing a variable number of integer vectors
4141
representing ticks, ticks of a day, and ticks of a second, we now always store
4242
values of these types within two double vectors, regardless of the precision.
@@ -55,7 +55,7 @@
5555

5656
* `%%` and `%/%` operators now return a missing value when the right-hand side
5757
is `0`. For `%/%`, this is consistent with `2L %/% 0L`, which returns a
58-
missing value, rather than with `2 %/% 0`, which returns `Inf`, since
58+
missing value, rather than with `2 %/% 0`, which returns `Inf`, since
5959
infinite durations are not supported (#349).
6060

6161
* `seq()` methods for durations and time points handle the empty sequence cases
@@ -71,21 +71,21 @@
7171

7272
* Duration vectors now work as `.before` and `.after` arguments of
7373
`slider::slide_index()` and friends (#306).
74-
74+
7575
* All `as_*()` generics exported by clock now include `...` in their signature
7676
to help with extensibility of converting to clock types. These are the only
7777
clock generics that are currently "blessed" as fully extensible (#348).
78-
78+
7979
* `as.character()` has been implemented for durations.
8080

8181
* Fixed `vec_ptype_full()` and `vec_ptype_abbr()` methods for sys-time and
8282
naive-time objects (#302).
83-
83+
8484
* Many errors have been improved (#219, #286, #595).
85-
85+
8686
* Renamed `locale.h` to `fill.h` to avoid clock's `locale.h` being chosen over a
8787
system header of the same name on some CentOS machines (#310).
88-
88+
8989
* Skipped a test on 32-bit architectures to work around a bug in base R (#312).
9090

9191
* R >=3.5.0 is now required, which is in line with tidyverse standards.
@@ -129,7 +129,7 @@
129129
number of uses, like computing the age of an individual in years, or
130130
determining the number of weeks that have passed since the start of the year
131131
(#266).
132-
132+
133133
* Modulus is now defined between a duration vector and an integer vector
134134
through `<duration> %% <integer>`. This returns a duration vector containing
135135
the remainder of the division (#273).
@@ -155,45 +155,45 @@
155155
* To align more with RFC 3339 and ISO 8601 standards, the default formats used
156156
in many of the date formatting and parsing functions have been slightly
157157
altered. The following changes have been made:
158-
158+
159159
* Date-times (POSIXct):
160-
160+
161161
* `date_format()` now prints a `T` between the date and time.
162-
162+
163163
* `date_time_parse_complete()` now expects a `T` between the date and time
164164
by default.
165-
165+
166166
* Sys-times:
167-
167+
168168
* `format()` and `as.character()` now print a `T` between the date and time.
169-
169+
170170
* `sys_time_parse()` now expects a `T` between the date and time by default.
171-
171+
172172
* Naive-times:
173-
173+
174174
* `format()` and `as.character()` now print a `T` between the date and time.
175-
175+
176176
* `naive_time_parse()` now expects a `T` between the date and time by
177177
default.
178-
178+
179179
* Zoned-times:
180-
180+
181181
* `format()` and `as.character()` now print a `T` between the date and time.
182-
182+
183183
* `zoned_time_parse_complete()` now expects a `T` between the date and time
184184
by default.
185-
185+
186186
* Calendars:
187-
187+
188188
* `format()` and `as.character()` now print a `T` between the date and time.
189-
189+
190190
* `year_month_day_parse()` now expects a `T` between the date and time by
191191
default.
192192

193193
* Further improved documentation of undefined behavior resulting from attempting
194194
to parse sub-daily components of a string that is intended to be parsed into
195195
a Date (#258).
196-
196+
197197
* Bumped required minimum version of tzdb to 0.2.0 to get access to the latest
198198
time zone database information (2021e) and to fix a Unicode bug on Windows.
199199

@@ -211,7 +211,7 @@
211211

212212
* New `invalid_remove()` for removing invalid dates. This is just a wrapper
213213
around `x[!invalid_detect(x)]`, but works nicely with the pipe (#229).
214-
214+
215215
* All clock types now support `is.nan()`, `is.finite()`, and `is.infinite()`.
216216
Additionally, duration types now support `abs()` and `sign()` (#235).
217217

@@ -228,26 +228,26 @@
228228
full string, with fractional seconds, into a clock type that can handle them,
229229
then round to seconds using whatever rounding convention is required for your
230230
use case, such as `time_point_floor()` (#230).
231-
231+
232232
For example:
233-
233+
234234
```
235235
x <- c("2019-01-01 00:00:59.123", "2019-01-01 00:00:59.556")
236-
236+
237237
x <- naive_time_parse(x, precision = "millisecond")
238238
x
239239
#> <time_point<naive><millisecond>[2]>
240240
#> [1] "2019-01-01 00:00:59.123" "2019-01-01 00:00:59.556"
241-
241+
242242
x <- time_point_round(x, "second")
243243
x
244244
#> <time_point<naive><second>[2]>
245245
#> [1] "2019-01-01 00:00:59" "2019-01-01 00:01:00"
246-
246+
247247
as_date_time(x, "America/New_York")
248248
#> [1] "2019-01-01 00:00:59 EST" "2019-01-01 00:01:00 EST"
249249
```
250-
250+
251251
* Preemptively updated tests related to upcoming changes in testthat (#236).
252252

253253
# clock 0.3.0
@@ -257,7 +257,7 @@
257257
* clock now uses the tzdb package to access the date library's API. This
258258
means that the experimental API that was to be used for vroom has been
259259
removed in favor of using the one exposed in tzdb.
260-
260+
261261
* `zone_database_names()` and `zone_database_version()` have been removed in
262262
favor of re-exporting `tzdb_names()` and `tzdb_version()` from the tzdb
263263
package.
@@ -268,22 +268,22 @@
268268
This means that it no longer assumes that Date has an implied time zone of
269269
UTC (#203). This generally aligns better with how users think Date should
270270
work. This resulted in the following changes:
271-
271+
272272
* `date_zone()` now errors with Date input, as naive-times do not have a
273273
specified time zone.
274-
274+
275275
* `date_parse()` now parses into a naive-time, rather than a sys-time, before
276276
converting to Date. This means that `%z` and `%Z` are now completely
277277
ignored.
278-
278+
279279
* The Date method for `date_format()` now uses the naive-time `format()`
280280
method rather than the zoned-time one. This means that `%z` and `%Z` are
281281
no longer valid format commands.
282-
282+
283283
* The zoned-time method for `as.Date()` now converts to Date through an
284284
intermediate naive-time, rather than a sys-time. This means that the
285285
printed date will always be retained, which is generally what is expected.
286-
286+
287287
* The Date method for `as_zoned_time()` now converts to zoned-time through
288288
an intermediate naive-time, rather than a sys-time. This means that the
289289
printed date will always attempt to be retained, if possible, which is
@@ -301,15 +301,15 @@
301301
* Added two new convenient helpers (#197):
302302

303303
* `date_today()` for getting the current date (Date)
304-
304+
305305
* `date_now()` for getting the current date-time (POSIXct)
306306

307307
* Fixed a bug where converting from a time point to a Date or POSIXct could
308308
round incorrectly (#205).
309309

310310
* Errors resulting from invalid dates or nonexistent/ambiguous times are now
311311
a little nicer to read through the usage of an info bullet (#200).
312-
312+
313313
* Formatting a naive-time with `%Z` or `%z` now warns that there were
314314
format failures (#204).
315315

0 commit comments

Comments
 (0)