Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Array $GLOBALS['TL_LANG']['MONTHS_SHORT'] #2

Closed
aschempp opened this issue Nov 29, 2011 · 7 comments
Closed

Array $GLOBALS['TL_LANG']['MONTHS_SHORT'] #2

aschempp opened this issue Nov 29, 2011 · 7 comments
Assignees
Milestone

Comments

@aschempp
Copy link
Member

I'd like to see a global array holding month short names. Currently the full names are available.

Download the attachments

--- Originally created on August 18th, 2008, at 06:47pm (ID 2)

@ghost ghost assigned leofeyer Nov 29, 2011
@leofeyer
Copy link
Member

Why don't you just use substr()?

<?php echo substr($GLOBALS['TL_LANG']['MONTHS']r0, 0, 3); ?>

Should work for most languages.

--- Originally created on August 22nd, 2008, at 11:30pm

@aschempp
Copy link
Member Author

then the short name of german "März" would be "Mär" ? ;-)

--- Originally created on August 23rd, 2008, at 10:38am

@leofeyer
Copy link
Member

Yes, and that is correct. See http://www.google.de/search?q=Jan+Feb+M%C3%A4r&ie=utf-8

--- Originally created on August 23rd, 2008, at 11:39am

@leofeyer
Copy link
Member

See http://www.contao.org/forum/topic/6921.html

--- Originally created on September 4th, 2008, at 07:50pm

@leofeyer
Copy link
Member

See http://www.contao.org/board/message/43096.html

--- Originally created on September 4th, 2008, at 07:52pm

@leofeyer
Copy link
Member

See #304

--- Originally created on December 13th, 2008, at 10:03pm

@leofeyer
Copy link
Member

--- Originally closed on December 13th, 2008, at 10:03pm

leofeyer pushed a commit that referenced this issue May 21, 2012
Do not use JOIN, it could cause issue with filters
leofeyer pushed a commit that referenced this issue Sep 30, 2014
Made Image class way more modular and object oriented
leofeyer pushed a commit that referenced this issue Oct 31, 2014
Made Image class way more modular and object oriented
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants