- Posts: 58
COMMUNITY FORUM
Where do I go to Set Date Format?
- Timothy Michel
-
Topic Author
- Offline
- Senior Member
Less
More
10 years 11 months ago #129077
by Timothy Michel
Where do I go to Set Date Format? was created by Timothy Michel
What file contains the php date format string??
Please Log in or Create an account to join the conversation.
- jeffrey liu
-
- Offline
- New Member
Less
More
- Posts: 16
10 years 11 months ago #129078
by jeffrey liu
Replied by jeffrey liu on topic Re: Where do I go to Set Date Format?
Guess what?
Its in Language file.(directory)
search K2_DATE_FORMAT_LC, there you can set the date format! :evil:
Its in Language file.(directory)
search K2_DATE_FORMAT_LC, there you can set the date format! :evil:
Please Log in or Create an account to join the conversation.
- Timothy Michel
-
Topic Author
- Offline
- Senior Member
Less
More
- Posts: 58
10 years 11 months ago #129079
by Timothy Michel
Replied by Timothy Michel on topic Re: Where do I go to Set Date Format?
Thanks for the reply.
This is what I have entered there:
K2_DATE_FORMAT="%l, %F %d, %Y"
K2_DATE_FORMAT_LC2="%l, %F %d, %Y"
K2_DATE_FORMAT_LC="%F %d, %Y"
This is what is output on the pages:
Monday, 09 June 2014 00:00
Obviously the format strings are being ignored.
see: www.jsandbox.org/evidence/videos/videos-by-others/what-about-the-military/788-what-about-the-military/366-the-mission-statement-is-to-engage-and-destroy.html
This is what I have entered there:
K2_DATE_FORMAT="%l, %F %d, %Y"
K2_DATE_FORMAT_LC2="%l, %F %d, %Y"
K2_DATE_FORMAT_LC="%F %d, %Y"
This is what is output on the pages:
Monday, 09 June 2014 00:00
Obviously the format strings are being ignored.
see: www.jsandbox.org/evidence/videos/videos-by-others/what-about-the-military/788-what-about-the-military/366-the-mission-statement-is-to-engage-and-destroy.html
Please Log in or Create an account to join the conversation.
- Kannan Naidu Venugopal
-
- Offline
- Platinum Member
- Aham Brahmasmi
10 years 11 months ago #129080
by Kannan Naidu Venugopal
Replied by Kannan Naidu Venugopal on topic Re: Where do I go to Set Date Format?
If you're changing the date formats, you can always do this
default way
K2 Rocks \m/
default way
here
K2 Rocks \m/
Please Log in or Create an account to join the conversation.
- Timothy Michel
-
Topic Author
- Offline
- Senior Member
Less
More
- Posts: 58
10 years 11 months ago #129081
by Timothy Michel
Replied by Timothy Michel on topic Re: Where do I go to Set Date Format?
Thanks, but I don't know why changing the params file doesn't change the format.
I will go the custom route.
I will go the custom route.
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
10 years 11 months ago #129082
by Lefteris
Replied by Lefteris on topic Re: Where do I go to Set Date Format?
@Timothy Michel
Maybe you are changing the wrong file. There are separate language files for front-end and back-end.
Maybe you are changing the wrong file. There are separate language files for front-end and back-end.
Please Log in or Create an account to join the conversation.
- Timothy Michel
-
Topic Author
- Offline
- Senior Member
Less
More
- Posts: 58
10 years 11 months ago #129083
by Timothy Michel
Replied by Timothy Michel on topic Re: Where do I go to Set Date Format?
Didn't think of that, Thanks. One is in administrator and the other in language outside of administrator? No I set the language to en_US, but I was modifying en_GB.
Thanks, problem solved.
Thanks, problem solved.
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
10 years 11 months ago #129084
by Lefteris
Replied by Lefteris on topic Re: Where do I go to Set Date Format?
You are welcome.
Please Log in or Create an account to join the conversation.