diff options
author | KHobbits <rob@khobbits.co.uk> | 2012-01-14 16:36:19 +0000 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2012-01-14 16:36:19 +0000 |
commit | 0a9f815fbb5828acb2df2848a74d089b9f66494c (patch) | |
tree | ef331243c30ca337e77350166dbe578f1f998602 | |
parent | 72c3ca0b47c6244f5aa7d445ea5a5bd6e9504f23 (diff) | |
download | Essentials-0a9f815fbb5828acb2df2848a74d089b9f66494c.tar Essentials-0a9f815fbb5828acb2df2848a74d089b9f66494c.tar.gz Essentials-0a9f815fbb5828acb2df2848a74d089b9f66494c.tar.lz Essentials-0a9f815fbb5828acb2df2848a74d089b9f66494c.tar.xz Essentials-0a9f815fbb5828acb2df2848a74d089b9f66494c.zip |
Fixing {WorldDate}
Test #1353
-rw-r--r-- | Essentials/src/com/earth2me/essentials/textreader/KeywordReplacer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/textreader/KeywordReplacer.java b/Essentials/src/com/earth2me/essentials/textreader/KeywordReplacer.java index 182dba9d3..782798bff 100644 --- a/Essentials/src/com/earth2me/essentials/textreader/KeywordReplacer.java +++ b/Essentials/src/com/earth2me/essentials/textreader/KeywordReplacer.java @@ -41,7 +41,7 @@ public class KeywordReplacer implements IText world = user.getLocation().getWorld().getName(); worldTime12 = DescParseTickFormat.format12(user.getWorld().getTime()); worldTime24 = DescParseTickFormat.format24(user.getWorld().getTime()); - worldDate = DateFormat.getDateInstance(DateFormat.MEDIUM, ess.getI18n().getCurrentLocale()).format(DescParseTickFormat.ticksToDate(user.getWorld().getTime())); + worldDate = DateFormat.getDateInstance(DateFormat.MEDIUM, ess.getI18n().getCurrentLocale()).format(DescParseTickFormat.ticksToDate(user.getWorld().getFullTime())); } else { |