Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/locales.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomocy <tomocy.dev@gmail.com>2019-04-24 06:31:49 +0300
committertomocy <tomocy.dev@gmail.com>2019-04-24 06:31:49 +0300
commite79a9af51b26b94d3bd14d023a5c7ff29b4f98d6 (patch)
treeff1329168790d9d86ba539d642e8fb6283f6a5a5
parenta0d81a2e08fcc07883c0b25ea6661203e77b7703 (diff)
add TestFmtTimeShort of ja
-rw-r--r--ja/ja_test.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/ja/ja_test.go b/ja/ja_test.go
index 726922da..4ee1823f 100644
--- a/ja/ja_test.go
+++ b/ja/ja_test.go
@@ -730,14 +730,14 @@ func TestFmtTimeShort(t *testing.T) {
t time.Time
expected string
}{
- // {
- // t: time.Date(2016, 02, 03, 9, 5, 1, 0, time.UTC),
- // expected: "9:05 am",
- // },
- // {
- // t: time.Date(2016, 02, 03, 20, 5, 1, 0, time.UTC),
- // expected: "8:05 pm",
- // },
+ {
+ t: time.Date(2016, 02, 03, 9, 5, 1, 0, time.UTC),
+ expected: "9:05",
+ },
+ {
+ t: time.Date(2016, 02, 03, 20, 5, 1, 0, time.UTC),
+ expected: "20:05",
+ },
}
trans := New()