By radiofranky on
I want to customize "authored on" date format
I don't like "2005-12-09 05:19:31 +0000", all i want is "12-09-2005" tks
I want to customize "authored on" date format
I don't like "2005-12-09 05:19:31 +0000", all i want is "12-09-2005" tks
Comments
Found a patch for you
Reading your post, I found this patch:
- http://drupal.org/node/34960
See also these posts (not too much info BTW):
- http://drupal.org/node/12865
- http://drupal.org/node/29579
___________________
discover new oceans
lose sight of the shore
2005-12-09 12:43:30 +0530 is still on the page
the date format i mentioned below is automatically inserted when u post a story. Something like this
2005-12-09 12:43:30 +0530
I changed the system.module file and it shows i have the format i want..but somehow it still it shows like above.
Mabye this 2005-12-09 12:43:30 +0530 is coming from somewhere else? tks
2005-12-09 12:43:30 +0530
basically i don't want to see the following
Submitted by radiofranky on Fri, 2005-12-09 14:30.
instead I wan to be Fri, 12-09-2005
tks
i want to able to remove hour and minutes
Hi,
where should I edit if i want to removed "hour and min"?
tks
Probably start here...
Don't have time right now to search extensively at the forum, and can't dig deep into the following link either, but may be this is a good starting point:
- http://drupal.org/node/20356
___________________
discover new oceans
lose sight of the shore
phptemplate
I am not sure how exactly you would like to do this.
If you are using PHPTemplate go to
themes/engines/phptemplate/phptemplate.engineLine 291 - 294I don't like to hack the but this is the place I would start looking.
Also look at your Date settings. administer >> settings (bottom of the page.)
This is how you do it...
Inside the function node_validate() (which, of course, lives in node.module) is a line that reads something like...
This is actually post my own edits... it doesn't start out "d-M-Y" But as far as I can tell it just uses the php date function's formatting rules.
This should really be set to be the same as the default format in the settings rather than being hard coded. I hope that's in store for 4.7.