28 | | var datetime = now.getFullYear() + '-' + |
29 | | zeroise(now.getMonth() + 1, 2) + '-' + |
30 | | zeroise(now.getDate(), 2) + 'T' + |
31 | | zeroise(now.getHours(), 2) + ':' + |
32 | | zeroise(now.getMinutes(), 2) + ':' + |
33 | | zeroise(now.getSeconds() ,2) + |
34 | | // FIXME: we could try handling timezones like +05:30 and the like |
35 | | zeroise((now.getTimezoneOffset()/60), 2) + ':' + '00'; |
| 28 | var datetime = now.getUTCFullYear() + '-' + |
| 29 | zeroise(now.getUTCMonth() + 1, 2) + '-' + |
| 30 | zeroise(now.getUTCDate(), 2) + 'T' + |
| 31 | zeroise(now.getUTCHours(), 2) + ':' + |
| 32 | zeroise(now.getUTCMinutes(), 2) + ':' + |
| 33 | zeroise(now.getUTCSeconds() ,2) + |
| 34 | '+00:00'; |