@malloydata/render 0.0.185 → 0.0.186-dev240919175349
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.
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { RendererProps } from './apply-renderer';
|
|
2
|
-
export declare function renderTimeString(value: Date, isDate: boolean, timeframe?: string): string
|
|
3
|
-
export declare function renderTime({ field, dataColumn }: RendererProps): string
|
|
2
|
+
export declare function renderTimeString(value: Date, isDate: boolean, timeframe?: string): string;
|
|
3
|
+
export declare function renderTime({ field, dataColumn }: RendererProps): string;
|
|
@@ -90526,7 +90526,7 @@ function CB(t, e, n) {
|
|
|
90526
90526
|
case "quarter":
|
|
90527
90527
|
return `${r}-Q${Math.floor(t.getUTCMonth() / 3) + 1}`;
|
|
90528
90528
|
case "year":
|
|
90529
|
-
return t.getUTCFullYear();
|
|
90529
|
+
return t.getUTCFullYear().toString();
|
|
90530
90530
|
default:
|
|
90531
90531
|
return e ? c : `${c} ${l}`;
|
|
90532
90532
|
}
|