When I type in an end date with my date field, the page always shows '1 January 2012 to 5 March 2012'. It's the word 'to' I have an issue with. I'd like to replace it with a dash ( - ) or a word in another language, but I can't find a way to do so. This may have already been reported before but I can't find it, so I'm just bringing it up. Hopefully somebody can pick this up, as it is really a feature I'd like.
Comments
Comment #1
cecemel7 commentedI have exactly the same problem/question. I really prefered the default '-' in Drupal 6.
Comment #2
cecemel7 commentedI found how to do that if you have another language :
In order to change the "to" to something in your own language, you have to translate the module in your language.
For that
In your site, make sure you have activitated the "locale" module (it's in core) and you have your language installed.
Then go to "yoursite"/admin/config/regional/translate/import and import the .po file for Date.
Super easy, isn't it ? ;-)
By the way "to" is translated by "-" in french. And, IMHO "-" would be a better default...
Hope this helps someone ;-)
Comment #3
luco commentedwouldn't there be a way to make that 'to' translatable?
or - even better - make that separation from start and end date configurable?
Comment #4
luco commented... actually there's another approach: you can install i18n, go to admin/config/regional/translate/translate and translate the expression
!start-date to !end-date.but still being able to configure the separation would be nice!
Comment #5
sahuni commentedsolution #4 was OK for me