Skip to content

Commit f008469

Browse files
Merge pull request livecode#1186 from runrevsebastien/bugfix-13460
[[ Bug 13460 ]] 'convert' output is incorrectly formatted
2 parents 3de1820 + 5f169f3 commit f008469

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

docs/notes/bugfix-13460.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# 'convert' output is incorrectly formatted

engine/src/date.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ bool MCDateTimeInitialize()
111111
g_basic_locale->abbrev_month_names[10]= MCSTR("Nov");
112112
g_basic_locale->abbrev_month_names[11]= MCSTR("Dec");
113113

114-
g_basic_locale->date_formats[0] = MCSTR("^%#m/%#d/%#y");
114+
// SN-2014-09-17: [[ Bug 13460 ]] No hashtag for the year
115+
g_basic_locale->date_formats[0] = MCSTR("^%#m/%#d/%y");
115116
g_basic_locale->date_formats[1] = MCSTR("%a, %b %#d, %#Y");
116117
g_basic_locale->date_formats[2] = MCSTR("%A, %B %#d, %#Y");
117118

0 commit comments

Comments
 (0)