Skip to content

Commit

Permalink
Merge pull request #435 from SciCatProject/dependabot/npm_and_yarn/ty…
Browse files Browse the repository at this point in the history
…pes/luxon-3.3.0

build(deps-dev): bump @types/luxon from 3.2.0 to 3.3.0
  • Loading branch information
nitrosx authored Jul 18, 2023
2 parents 54018f6 + 4cb85fd commit 857cf53
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/common/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export const updateTimesToUTC = <T>(dateKeys: (keyof T)[], instance: T): T => {
if (instance[key]) {
const dateField = instance[key] as unknown as string;
instance[key] = DateTime.fromISO(dateField, {
zone: DateTime.local().zoneName,
zone: DateTime.local().zoneName as string,
}).toISO() as unknown as T[keyof T];
}
});
Expand Down

0 comments on commit 857cf53

Please sign in to comment.