Commit 2adc759b authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

WWW::Efa: create_post: Fix indentation, use correct date/time

parent 5f4f2a4d
Loading
Loading
Loading
Loading
+87 −87
Original line number Diff line number Diff line
@@ -171,6 +171,7 @@ sub post_place {

sub create_post {
	my ($conf) = @_;
	my @now = localtime(time());
	my $post = {
		changeSpeed => "normal",
		command => "",
@@ -190,9 +191,9 @@ sub create_post {
		inclMOT_9 => "on",
		includedMeans => "checkbox",
		itOptionsActive => 1,
      itdDateDay => "03",
      itdDateMonth => 12,
      itdDateYear => 10,
		itdDateDay => $now[3],
		itdDateMonth => $now[4] + 1,
		itdDateYear => $now[5] + 1900,
		itdLPxx_ShowFare => " ",
		itdLPxx_command => "",
		itdLPxx_enableMobilityRestrictionOptionsWithButton => "",
@@ -211,8 +212,8 @@ sub create_post {
		itdLPxx_priceCalculator => "",
		itdLPxx_transpCompany => "vrr",
		itdLPxx_view => "",
      itdTimeHour => 23,
      itdTimeMinute => 38,
		itdTimeHour => $now[2],
		itdTimeMinute => $now[1],
		itdTripDateTimeDepArr => "dep",
		language => "de",
		lineRestriction => 403,
@@ -261,7 +262,6 @@ sub create_post {


	post_place($post, 'origin', @{$conf->{'from'}});

	post_place($post, 'destination', @{$conf->{'to'}});

	if ($conf->{'via'}) {