Files
klz-cables.com/.pnpm-store/v10/files/4a/2251d196e148fff749a5081f6ce36496aba51c155932ed91d35123865667e845efc9fc81baacfefffbf369f3657900ac023602befcbee12059f886fdd61fe0
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

17 lines
846 B
Plaintext

import { GraphQLScalarType } from 'graphql';
import { GraphQLDateTimeConfig } from './DateTime.js';
export const GraphQLDateTimeISOConfig = /*#__PURE__*/ {
...GraphQLDateTimeConfig,
name: 'DateTimeISO',
description: 'A date-time string at UTC, such as 2007-12-03T10:15:30Z, ' +
'compliant with the `date-time` format outlined in section 5.6 of ' +
'the RFC 3339 profile of the ISO 8601 standard for representation ' +
'of dates and times using the Gregorian calendar.' +
'This scalar is serialized to a string in ISO 8601 format and parsed from a string in ISO 8601 format.',
serialize(value) {
const date = GraphQLDateTimeConfig.serialize(value);
return date.toISOString();
},
};
export const GraphQLDateTimeISO = /*#__PURE__*/ new GraphQLScalarType(GraphQLDateTimeISOConfig);