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

Commit

Permalink
Fix unix.sysvpkg.PkgchkUtil when Locale != ENGLISH.
Browse files Browse the repository at this point in the history
  • Loading branch information
smola committed Jan 12, 2015
1 parent 49b09ac commit 97b6539
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@

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

/**
/**
* @author <a href="mailto:trygvis@inamo.no">Trygve Laugst&oslash;l</a>
*/
public class PkgchkUtil
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 97b6539

Please sign in to comment.