diff --git a/date2word b/date2word index 90f0071..9d90481 100755 --- a/date2word +++ b/date2word @@ -32,7 +32,7 @@ def pluralize(n, forms): WD = wdays[time.localtime(time.time()).tm_wday] D = time.localtime(time.time()).tm_mday -M = month_names[time.localtime(time.time()).tm_mon] +M = month_names[time.localtime(time.time()).tm_mon - 1] Y = time.localtime(time.time()).tm_year W = WD + num2words(D, lang = 'ru', gender = 'n', to = 'ordinal') + M