diff options
Diffstat (limited to 'components/script/script_task.rs')
-rw-r--r-- | components/script/script_task.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/script_task.rs b/components/script/script_task.rs index 6f15836eb5d..19c8c96ead0 100644 --- a/components/script/script_task.rs +++ b/components/script/script_task.rs @@ -1298,5 +1298,5 @@ pub fn get_page(page: &Rc<Page>, pipeline_id: PipelineId) -> Rc<Page> { } fn dom_last_modified(tm: &Tm) -> String { - format!("{}", tm.to_local().strftime("%m/%d/%Y %H:%M:%S").unwrap()) + tm.to_local().strftime("%m/%d/%Y %H:%M:%S").unwrap().to_string() } |