মডিউল:সময় আগে: সংশোধিত সংস্করণের মধ্যে পার্থক্য
বিষয়বস্তু বিয়োগ হয়েছে বিষয়বস্তু যোগ হয়েছে
আফতাবুজ্জামান (আলোচনা | অবদান) + |
আফতাবুজ্জামান (আলোচনা | অবদান) সংশোধন |
||
৫৩ নং লাইন:
-- Check that the entered timestamp is valid. If it isn't, then give an error message.
local noError, inputTime = pcall( lang.formatDate, lang, '
if not noError then
return '<strong class="error">ত্রুটি: প্রথম প্যারামিটার একটি তারিখ বা সময় হিসেবে পার্স করা যাবে না।</strong>'
৫৯ নং লাইন:
-- Store the difference between the current time and the inputted time, as well as its absolute value.
local timeDiff =
local absTimeDiff = math.abs( timeDiff )
|