Possible to use day.js RelativeTime with Date Field
Hi is it possible to use Time from now (https://day.js.org/docs/en/display/from-now) using day.js's RelativeTime plugin with Date Field
Time from now · Day.js
Returns the string of relative time from now.
5 Replies
frail-apricot•2y ago
Hi @ahnaf1022
Which UI library you are using ?
genetic-orange•2y ago
Antd
frail-apricot•2y ago
I will debug and return you as soon as possible
unfortunately cannot use it. you can use antd <Text> of course
genetic-orange•2y ago
Okay thanks for checking
frail-apricot•2y ago
Also, you can swizzle datefield and you can customize it according to your needs🙏
https://refine.dev/docs/packages/documentation/cli/#swizzle
CLI | refine
refine CLI is a command line application that allows you to interact with your refine project and perform some tasks. This includes creating a new resource, managing updates, swizzle components, and runs your project (build, start, dev).