diff --git a/src/base.ts b/src/base.ts index 6158aec..00818fa 100644 --- a/src/base.ts +++ b/src/base.ts @@ -48,10 +48,7 @@ export interface ScaleOptions { maxLegend: string; minLegend: string; ratings: Rating[]; - width: { - absolute: number; - relative: number; - }; + width: number; } export interface LongTextOptions { diff --git a/src/helpers/current-date.ts b/src/helpers/current-date.ts new file mode 100644 index 0000000..b48116f --- /dev/null +++ b/src/helpers/current-date.ts @@ -0,0 +1,3 @@ +export default function CurrentDateHelper() { + return new Date().toUTCString(); +} diff --git a/src/partials/number-scale.hbs b/src/partials/number-scale.hbs index d93054c..03819f5 100644 --- a/src/partials/number-scale.hbs +++ b/src/partials/number-scale.hbs @@ -20,7 +20,7 @@ width="100%"> -
+