@ndla/ui 56.0.69-alpha.0 → 56.0.70-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -75,7 +75,7 @@ const LinkBlock = _ref => {
75
75
  const formattedDate = useMemo(() => {
76
76
  if (!date) return null;
77
77
  return new Intl.DateTimeFormat(articleLanguage, {
78
- timeZone: "UTC",
78
+ timeZone: "CET",
79
79
  day: "2-digit",
80
80
  month: "long",
81
81
  year: "numeric"
@@ -82,7 +82,7 @@ const LinkBlock = _ref => {
82
82
  const formattedDate = (0, _react.useMemo)(() => {
83
83
  if (!date) return null;
84
84
  return new Intl.DateTimeFormat(articleLanguage, {
85
- timeZone: "UTC",
85
+ timeZone: "CET",
86
86
  day: "2-digit",
87
87
  month: "long",
88
88
  year: "numeric"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ndla/ui",
3
- "version": "56.0.69-alpha.0",
3
+ "version": "56.0.70-alpha.0",
4
4
  "description": "UI component library for NDLA",
5
5
  "license": "GPL-3.0",
6
6
  "main": "lib/index.js",
@@ -33,10 +33,10 @@
33
33
  ],
34
34
  "dependencies": {
35
35
  "@ndla/core": "^5.0.2",
36
- "@ndla/icons": "^8.0.42-alpha.0",
36
+ "@ndla/icons": "^8.0.43-alpha.0",
37
37
  "@ndla/licenses": "^8.0.3-alpha.0",
38
- "@ndla/primitives": "^1.0.53-alpha.0",
39
- "@ndla/safelink": "^7.0.54-alpha.0",
38
+ "@ndla/primitives": "^1.0.54-alpha.0",
39
+ "@ndla/safelink": "^7.0.55-alpha.0",
40
40
  "@ndla/styled-system": "^0.0.27",
41
41
  "@ndla/util": "^5.0.0-alpha.0",
42
42
  "html-react-parser": "^5.1.8",
@@ -58,5 +58,5 @@
58
58
  "publishConfig": {
59
59
  "access": "public"
60
60
  },
61
- "gitHead": "2efa77f5b96c8c53d39d536d4f428bae6412c862"
61
+ "gitHead": "e06a706dabbce890a06465bf25e2a424811e7523"
62
62
  }
@@ -78,7 +78,7 @@ const LinkBlock = ({ title, articleLanguage, date, url, path }: Props) => {
78
78
  const formattedDate = useMemo(() => {
79
79
  if (!date) return null;
80
80
  return new Intl.DateTimeFormat(articleLanguage, {
81
- timeZone: "UTC",
81
+ timeZone: "CET",
82
82
  day: "2-digit",
83
83
  month: "long",
84
84
  year: "numeric",