feat(locale): add setTimezone & getTimezone functions#992
feat(locale): add setTimezone & getTimezone functions#992ShGKme merged 1 commit intonextcloud-libraries:mainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #992 +/- ##
==========================================
+ Coverage 83.16% 83.65% +0.48%
==========================================
Files 6 6
Lines 202 208 +6
Branches 84 86 +2
==========================================
+ Hits 168 174 +6
Misses 24 24
Partials 10 10 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Due to https://github.com/nextcloud-libraries/nextcloud-capabilities/blob/main/lib/index.ts#L11 console.debug('Could not find capabilities initial state fall back to _oc_capabilities')the console output of the test runs now gets spammed with this message. We could switch to calling loadState('core', 'capabilities')directly, to circumvent this. |
ShGKme
left a comment
There was a problem hiding this comment.
Looks good.
But we need to double-check that the timezone format from capabilities is the same as Intl supports
I wouldn't change the used library in the main code due to spam log messages in the tests. We should either silent the log in the tests or fix the library. |
What do you mean by this? One of the following?
|
We could pass |
Or just silence the specific output by having |
I've added that line to the |
ShGKme
left a comment
There was a problem hiding this comment.
Thanks!
Could you squash into a single commit, since all the changes where only "fixups" from the review in a small feature?
Isn't that something one of you guys have to do when merging? From the docs:
|
We don't have merge squash. But you can do anything in your own branch, including squashing into a single commit, and force-push |
Signed-off-by: Sector6759 <149817326+Sector6759@users.noreply.github.com>
|
Alright, I've squashed the commits. |
Uh oh!
There was an error while loading. Please reload this page.