From f0657f41640f21bd1f371d7da472245421a80828 Mon Sep 17 00:00:00 2001 From: "dayo.ogundipe" Date: Thu, 19 Oct 2023 07:43:57 -0700 Subject: [PATCH] user friendly formatted date --- API/reactivities.db | Bin 167936 -> 167936 bytes API/reactivities.db-shm | Bin 32768 -> 32768 bytes API/reactivities.db-wal | Bin 41232 -> 0 bytes .../details/ActivityDetailedHeader.tsx | 2 +- .../details/ActivityDetailedInfo.tsx | 2 +- 5 files changed, 2 insertions(+), 2 deletions(-) diff --git a/API/reactivities.db b/API/reactivities.db index 88fa26da15e714f9c80407f0199dc1236b2ec015..31cb751e145c9d09f92e1c5eb4bb0a3ec2746250 100644 GIT binary patch delta 261 zcmZozz}2vTYs3HbjGRpyrfpy}V`6id?y!MTYkI&2Mvm=S8yK&#GWnQH*W1UaF}coO zWqaQ?#?AcGFCJ#p1aTQnrf)pKsI`6PF-8p$77gZ5Mu_NkuG@^iLc}^o-EV%`Z1|6a!!xA&8V^c up¥qZmjL{|)~2{B8WP{3iU|e2+j{fVP%Fb;N;ntdC~`>WE{KHv|9=I8a6a delta 190 zcmZozz}2vTYs3Hbj2ulHrfpy}o9?iIQEPg@21c&!SsNIyu`+QaO;^~$s4+R-SY>

+oSkhhGNooDK1MS)tL?Ne=-@|oE<_;xbz?cC1ez|_Jw*+4*h`UF2FjqMNpn3Nes kKyv&y_}BBd@yGI;@N@G$;@b(-yO3}CggB6*I3{^R0BJotZU6uP diff --git a/API/reactivities.db-shm b/API/reactivities.db-shm index 34420559dae2a15e8faf48eb9b2d3271f7b0291b..fe9ac2845eca6fe6da8a63cd096d9cf9e24ece10 100644 GIT binary patch delta 80 zcmZo@U}|V!;+1%$%K!t66E{kWTChv7nNGgVi7p`mlYpuI4+Il)WHuh)2;O+0KnDP$ C(G*1h delta 227 zcmZo@U}|V!s+V}A%K!q*K+MR%AixErHG$ag-@^00D|3rZzu-)`nBqI-z_iQXH|l>; zBvn1oC@^3HlK+taRCr=Nr>YE)EephQK#a`h2J%&aSQ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z*&%5xv&8kHvOLrJrcS3dqT%)k2X0&c?(}jFl~l+*qk@-f&{9y*Hhu zu_QU;BE6{6D0Q%X!V~wdA2@L6EDR^qlB9q6qM%nna7pRxl9DvjSqfC!HJ2oMTl{5}GNgBib%0MU5jeFQ-V?QO}5S~#YwN-~$*j2WL7 zvI@$|TusMWBO1r=BR~Yl?;}72X$5!F_v`N|{LO=}UVZz)@9aCt3;dT881;t7BTI1R z*F0%V2qXj&0ttbHKtdoPkPt`+Bm@!y34w&bNd)2v8Tl*um={0RqV_pCe9P {DateTime.fromISO( new Date(activity.date).toISOString() - ).toFormat(`L'/'dd'/'yyyy h':'mma `)} + ).toLocaleString(DateTime.DATE_HUGE)}

)}

diff --git a/client-app/src/features/activities/details/ActivityDetailedInfo.tsx b/client-app/src/features/activities/details/ActivityDetailedInfo.tsx index 0ceea50..eff0aff 100644 --- a/client-app/src/features/activities/details/ActivityDetailedInfo.tsx +++ b/client-app/src/features/activities/details/ActivityDetailedInfo.tsx @@ -29,7 +29,7 @@ export default observer(function ActivityDetailedInfo({ activity }: Props) { {DateTime.fromISO( new Date(activity.date!).toISOString() as string - ).toFormat(`L'/'dd'/'yyyy h':'mma `)} + ).toLocaleString(DateTime.DATE_HUGE)}