Bug 1379200 - Preserve the precision of a timestamp when converting it to string. r=bkelly

This commit is contained in:
Ho-Pang Hsu 2017-09-12 11:01:41 +08:00
Родитель 9afc2952f8
Коммит 7b2a81c98d
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -10,7 +10,7 @@ def main(request, response):
imported_content = 'default'
if imported_content_type == 'time':
imported_content = time.time()
imported_content = '%f' % time.time()
body = '''
// %s

Просмотреть файл

@ -10,7 +10,7 @@ def main(request, response):
main_content = 'default'
if main_content_type == 'time':
main_content = time.time()
main_content = '%f' % time.time()
imported_request_path = ''
if 'path' in request.GET: