PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old July 3rd, 2004, 01:47 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Nov 2003
Posts: 53
Dateformat problem ...

I use the German language with PP 4.8d, but how can I change the dateformat ? At this moment it shows like this

Thu May 06., 2004 9:26pm

But it should be:

Do 06. Mai, 2004 21:26

How can I change this to the german format ?
Demux is offline   Reply With Quote
Old July 3rd, 2004, 04:00 PM   #2 (permalink)
donb
Guest
 
Posts: n/a
Admin -> Config -> Date Format
  Reply With Quote
Old July 3rd, 2004, 04:46 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Nov 2003
Posts: 53
I know this but the Months or Days always displays like "Mon, Tue, Wed.." we in germany have "Mon, Die, Mit, Don, Fre, Sam, Son" etc.

The time always looks like "9:26pm" but we have the 24h format (21:26).

This is my question. I have not seen in the language files to change the this.
Demux is offline   Reply With Quote
Old July 3rd, 2004, 05:32 PM   #4 (permalink)
donb
Guest
 
Posts: n/a
Ah yes, I forgot that.

In pp-inc.php, look for function formatppdate, you can change the months/days there.

Time is a little more difficult. In the same file, look for function thetime

Change the following lines:
if ($inhour > 11) {
if ($inhour != 12) {
$inhour=$inhour-12;
}
$outclock=$inhour.":".$inmin."pm";
}
else {
$outclock=$inhour.":".$inmin."am";
}

to

if ($inhour > 11) {
$outclock=$inhour.":".$inmin;
}
else {
$outclock=$inhour.":".$inmin;
}
  Reply With Quote
Old July 3rd, 2004, 07:40 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Nov 2003
Posts: 53
You sell you programm with difference languages but ignore the time/dateformat.

I don't understand why I now need to hack the sourcecode for a 24h timeformat !? This should be editable in the admin-config-panel or done automaticly with the language file.
Demux is offline   Reply With Quote
Old November 5th, 2004, 06:54 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Location: Germany
Posts: 68
Mhhh - I wanted to do the hack to change the time from eg. "11:10pm" to "23:10" (24h without pm), but the code in pp-inc is different now.

Code:
Content visible to verified customers only.
So, what do I have to change to get 24hours? It is still 12h/pm with that code.

Please?!
PyroMarkus is offline   Reply With Quote
Old November 6th, 2004, 04:29 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Location: Germany
Posts: 68
No idea, how to get 24h display, please?
PyroMarkus is offline   Reply With Quote
Old November 6th, 2004, 06:01 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
Code modifications can be discussed at http://www.photopostdev.com
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Login problem and private album password problem bicpm Photopost Pro Installation & Upgrades 10 March 11th, 2005 11:17 AM
Problem uploading and problem with .htaccess protection Shon Installs and Upgrade - vBulletin 3.0.X 12 February 7th, 2005 04:53 PM


All times are GMT -5. The time now is 07:57 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0