Skip to content

Instantly share code, notes, and snippets.

@rpersaud
Created January 25, 2012 22:10
Show Gist options
  • Save rpersaud/1679130 to your computer and use it in GitHub Desktop.
Save rpersaud/1679130 to your computer and use it in GitHub Desktop.
Custom Formats for Drupal Date/Time
<\d\iv \c\l\a\s\s="\m">M</\d\iv><\d\iv \c\l\a\s\s="\d">d</\d\iv><\d\iv \c\l\a\s\s="\y">Y</\d\iv>
@rpersaud
Copy link
Author

This custom format enables easier css styling on data fields in Drupal. See http://highrockmedia.com/blog/how-create-custom-date-format-better-theming-drupal-views for more information on how to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment