time icon indicating copy to clipboard operation
time copied to clipboard

Robust and type-safe date and time calculations for Swift

Results 23 time issues
Sort by recently updated
recently updated
newest added

`convert(to timeZone:)` behaves _consistently_ for all `T` in `Absolute` and in all other cases besides `` it behaves intuitively. For example, taking March 16 2020 at 12:00 PM EST (`Absolute`)...

bug
api

It'd be nice to have `jazzy` generate documentation whenever code is pushed. This page has an overview of how to accomplish something similar: https://learningswift.brightdigit.com/swift-package-continuous-integration-guide/#documentation

help wanted
documentation

Hi Thanks for this great library. The `Chronology` release version is not available now. I installed with `master` branch by using `Carthage`, but it is useful to release the current...

help wanted
good first issue

This seems fairly important.

good first issue

A floating value is an "any" value, such as "Any June". Its type would be `Floating`. "Any June 1st" would be `Floating`. These would need: - Approximate differences - Formatting...

enhancement

Desired functionality: - given a `Fixed`, get the week (`Array`) that contains it - given a `Fixed`, get an array of weeks in it, with an option to pad out...

enhancement

Hi there I really like this library, so I thought I'd mention some weird behaviour I encountered while unit testing. I set my clock rate at x100 to speed everything...

## Motivation In tests, especially those dealing with deadlines, it would be extremely helpful to test that events are firing when they're supposed to. An example is having a scheduled...

`someFixedMinute.format(minutes: .twoDigits)` should be using the bare `mm` format string, but it ends up as just `m` when going through the localization process. Same for `Template.twoDigits`.

bug

The `differenceInWhole...` functions should just return `Int` values. The underlying `TimeDifference`, because of the nature of the computation, will only have a single represented value, so the extra indirection is...

enhancement
good first issue