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
useful-bronze
useful-bronze16mo ago
Hi @ahnaf1022 Which UI library you are using ?
provincial-silver
provincial-silver16mo ago
Antd
useful-bronze
useful-bronze16mo ago
I will debug and return you as soon as possible unfortunately cannot use it. you can use antd <Text> of course
provincial-silver
provincial-silver16mo ago
Okay thanks for checking
useful-bronze
useful-bronze16mo 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).