keystone-5 icon indicating copy to clipboard operation
keystone-5 copied to clipboard

Can't change DateTime's format

Open dimitriaatos opened this issue 5 years ago • 3 comments

I'm unable to make the admin ui display date and time in a format other than h:mm A do MMMM yyyy xxx. The following code is from the docs and it can be used to reproduce the issue.

const { DateTime } = require('@keystonejs/fields');

keystone.createList('User', {
  fields: {
    lastOnline: {
      type: DateTime,
      format: 'MM/DD/YYYY h:mm A',
      yearRangeFrom: 1901,
      yearRangeTo: 2018,
      yearPickerType: 'auto',
    },
  },
});

dimitriaatos avatar Apr 15 '20 13:04 dimitriaatos

It looks like there hasn't been any activity here in over 6 months. Sorry about that! We've flagged this issue for special attention. It wil be manually reviewed by maintainers, not automatically closed. If you have any additional information please leave us a comment. It really helps! Thank you for you contribution. :)

stale[bot] avatar Aug 13 '20 23:08 stale[bot]

It looks like this feature is still broken.

mbrowne avatar Jan 04 '21 18:01 mbrowne

It seems to be an important bug with basic needs. I hope you guys can solve it quickly.

gtolarc avatar Jan 27 '21 05:01 gtolarc