We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
` ; bug. expexted time is 16:00 (let [calendar (:forex calendars) interval (:h intervals) prior-open-dt (:prior-open interval)] (prior-open-dt calendar (t/in (t/date-time "2024-02-06T17:00") "America/New_York"))) ;=> #time/zoned-date-time"2024-02-02T15:30-05:00[America/New_York]"
; bug. expexted time is 16:00 (let [calendar (:forex calendars) interval (:h intervals) next-open-dt (:next-open interval)] (next-open-dt calendar (t/in (t/date-time "2024-02-06T15:30") "America/New_York"))) ;=> #time/zoned-date-time"2024-02-07T17:00-05:00[America/New_York]"`
; bug. expected time is 16:30 (let [calendar (:forex calendars) interval (:h intervals) prior-close-dt (:prior-close interval)] (prior-close-dt calendar (t/in (t/date-time "2024-02-06T17:00") "America/New_York"))) ;=> #time/zoned-date-time"2024-02-06T16:00-05:00[America/New_York]"
bugs only exist for forex :h around the uncomplete 16:30h bar.
The text was updated successfully, but these errors were encountered:
wizard50
No branches or pull requests
` ; bug. expexted time is 16:00
(let [calendar (:forex calendars)
interval (:h intervals)
prior-open-dt (:prior-open interval)]
(prior-open-dt calendar (t/in (t/date-time "2024-02-06T17:00") "America/New_York")))
;=> #time/zoned-date-time"2024-02-02T15:30-05:00[America/New_York]"
; bug. expexted time is 16:00
(let [calendar (:forex calendars)
interval (:h intervals)
next-open-dt (:next-open interval)]
(next-open-dt calendar (t/in (t/date-time "2024-02-06T15:30") "America/New_York")))
;=> #time/zoned-date-time"2024-02-07T17:00-05:00[America/New_York]"`
; bug. expected time is 16:30
(let [calendar (:forex calendars)
interval (:h intervals)
prior-close-dt (:prior-close interval)]
(prior-close-dt calendar (t/in (t/date-time "2024-02-06T17:00") "America/New_York")))
;=> #time/zoned-date-time"2024-02-06T16:00-05:00[America/New_York]"
bugs only exist for forex :h around the uncomplete 16:30h bar.
The text was updated successfully, but these errors were encountered: