@grafana/ui
Version:
Grafana Components Library
1 lines • 562 B
Source Map (JSON)
{"version":3,"file":"commonFormat.mjs","sources":["../../../../src/components/DateTimePickers/commonFormat.ts"],"sourcesContent":["import { getFeatureToggle } from '../../utils/featureToggle';\n\n// The moment.js format to use for datetime inputs when the regionalFormat option is set.\nconst COMMON_FORMAT = 'YYYY-MM-DD HH:mm:ss';\n\nexport const commonFormat = getFeatureToggle('localeFormatPreference') ? COMMON_FORMAT : undefined;\n"],"names":[],"mappings":";;;AAGA,MAAM,aAAA,GAAgB,qBAAA;AAEf,MAAM,YAAA,GAAe,gBAAA,CAAiB,wBAAwB,CAAA,GAAI,aAAA,GAAgB,KAAA;;;;"}