Bug when specify partial hour timezone
alexandrnikitin opened this issue · 0 comments
alexandrnikitin commented
var strftime = require('../strftime-min');
var testTime = new Date(1307472705067)
// for the timezone '-0730'
console.log(strftime.strftimeTZ("%F %r %z", testTime, '-0730'));
// 2011-06-07 12:21:45 PM -6.5-30
// the time and the timezone is wrong, i expect to get:
// 2011-06-07 11:21:45 AM -0730