Title: Millis function week assignment · Issue #142 · IBM/JSONata4Java · GitHub
Open Graph Title: Millis function week assignment · Issue #142 · IBM/JSONata4Java
X Title: Millis function week assignment · Issue #142 · IBM/JSONata4Java
Description: There appears to be an issue with the tests for milliseconds with week number calculation: $fromMillis(1515326400000, "Week: [W]") returned "Week: 2" and it should have reported Week 1 Using the maven: mvn clean install runs the batch of...
Open Graph Description: There appears to be an issue with the tests for milliseconds with week number calculation: $fromMillis(1515326400000, "Week: [W]") returned "Week: 2" and it should have reported Week 1 Using the ma...
X Description: There appears to be an issue with the tests for milliseconds with week number calculation: $fromMillis(1515326400000, "Week: [W]") returned "Week: 2" and it should have reported...
Opengraph URL: https://github.com/IBM/JSONata4Java/issues/142
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Millis function week assignment","articleBody":"There appears to be an issue with the tests for milliseconds with week number calculation:\r\n\r\n$fromMillis(1515326400000, \"Week: [W]\") returned \"Week: 2\" and it should have reported Week 1\r\nUsing the maven: mvn clean install runs the batch of tests including the:\r\nsrc/test/java/com/api/jsonata4java.test.expressions FromMillisFunctionTests:\r\n{ \"$fromMillis(1515326400000, \"Week: [W]\")\",\"\"Week: 1\"\",null},\r\n\r\nUsing a different class I'd developed, the millisecond time converts as follows so I'd expect this to be reported as Week 1 as well.:\r\nEnter date to be converted (or Q to quit):\r\n1515326400000\r\nTimestamp: 2018-01-07 12:00:00.000000\r\nxs:datetime: 2018-01-07T12:00:00.000Z\r\nDefault: 2018-01-07T12:00:00.000Z\r\nEpochMS: 1515326400000\r\nSun, 07 Jan 2018 12:00:00\r\nJanuary 07 2018 12:00:00\r\n\r\nCould you please look into this and repair as needed?","author":{"url":"https://github.com/wnm3","@type":"Person","name":"wnm3"},"datePublished":"2021-03-08T15:59:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/142/JSONata4Java/issues/142"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:29d11fb4-69c7-8e00-ad4e-0dec3e163820 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A8BA:362FC4:AC7642E:AFC8E56:6A50B0D1 |
| html-safe-nonce | 8fbc832cf021a4520984983e0612beb38d288881481d9ee17847a14a51d7ed18 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEJBOjM2MkZDNDpBQzc2NDJFOkFGQzhFNTY6NkE1MEIwRDEiLCJ2aXNpdG9yX2lkIjoiMzUyMTQ0MjIyNzQ4NTE5MjQwMSIsInJlZ2lvbl9lZGdlIjoic2VhIiwicmVnaW9uX3JlbmRlciI6InNlYSJ9 |
| visitor-hmac | b59c17e190391b87668dc9434f3cb1d1a685ef8585e6f905bd7597ca356ec7a2 |
| hovercard-subject-tag | issue:824697499 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IBM/JSONata4Java/142/issue_layout |
| twitter:image | https://opengraph.githubassets.com/82a1e5fb2e9ef5241a4f00f4964497479335c1471c269c5e8ac30508e57926b9/IBM/JSONata4Java/issues/142 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/82a1e5fb2e9ef5241a4f00f4964497479335c1471c269c5e8ac30508e57926b9/IBM/JSONata4Java/issues/142 |
| og:image:alt | There appears to be an issue with the tests for milliseconds with week number calculation: $fromMillis(1515326400000, "Week: [W]") returned "Week: 2" and it should have reported Week 1 Using the ma... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | wnm3 |
| hostname | github.com |
| expected-hostname | github.com |
| None | d6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb |
| turbo-cache-control | no-preview |
| go-import | github.com/IBM/JSONata4Java git https://github.com/IBM/JSONata4Java.git |
| octolytics-dimension-user_id | 1459110 |
| octolytics-dimension-user_login | IBM |
| octolytics-dimension-repository_id | 169904880 |
| octolytics-dimension-repository_nwo | IBM/JSONata4Java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 169904880 |
| octolytics-dimension-repository_network_root_nwo | IBM/JSONata4Java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7ac0ad2f2c7e4b9056617355fd9e33e22b0c8df9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width