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

Commit

Permalink
Merge pull request #2 from Stratio/feature/fix-sysv-locale-tests
Browse files Browse the repository at this point in the history
Fix unix.sysvpkg.PkgchkUtil when Locale != ENGLISH.
  • Loading branch information
smola committed Jan 12, 2015
2 parents 624b29e + d6e5c56 commit 754a988
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@

import java.io.*;
import java.text.*;
import java.util.Locale;

/**
* @author <a href="mailto:trygvis@inamo.no">Trygve Laugst&oslash;l</a>
Expand All @@ -55,7 +56,8 @@ public class PkgchkUtil
appendSecondOfMinute( 2 ).
appendLiteral( ' ' ).
appendYear( 4, 4 ).
toFormatter();
toFormatter().
withLocale(Locale.ENGLISH);

public static final F<LocalDateTime, String> formatter = curry( UnixUtil.formatLocalDateTime, FORMAT );

Expand Down

0 comments on commit 754a988

Please sign in to comment.