I noticed that when choosing a custom date formate for a views field, I could input Y/m/d (or whatever) and it works as expected. But I noticed in Drupal core when creating a new date format Ajax prints this out to the right of the field on the fly. Can Views do this? Hook into that functionality somehow? It's a very minor thing, but it was extremely helpful in quickly checking the correctness of the date format without having to hit save and refresh a page each time.

Just a thought

Blue

Comments

dawehner’s picture

StatusFileSize
new8.87 KB

Just to document it, it's the thing in the screenshot below.

dawehner’s picture

Status: Active » Needs review
StatusFileSize
new1.97 KB

This is quite a nice feature, here is a feature which does not work yet, but should :)

Sadly modules/system/system.js doesn't get loaded.

dawehner’s picture

Status: Needs review » Needs work
+++ b/handlers/views_handler_field_date.incundefined
@@ -37,13 +37,35 @@ class views_handler_field_date extends views_handler_field {
+    dsm($form);

dsm() should be removed, so update status.