From 16b62f978866be4f27467b1c129e3eba728ffc07 Mon Sep 17 00:00:00 2001 From: fhfuih Date: Mon, 29 Jul 2019 12:08:04 +0800 Subject: [PATCH] Use month names in datetime labels --- src/components/QuotaChart.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/QuotaChart.js b/src/components/QuotaChart.js index 399292a..d43ae79 100644 --- a/src/components/QuotaChart.js +++ b/src/components/QuotaChart.js @@ -17,8 +17,8 @@ const styles = { } }; -const xAxisFmt = timeFormat('%d/%m'); -const legendLabelFmt = timeFormat('%d/%m/%Y %H:%M:%S'); +const xAxisFmt = timeFormat('%b %d'); +const legendLabelFmt = timeFormat('%b %d %Y %H:%M:%S'); class QuotaChart extends Component { render() {